> I didn't implement verification, and I don't plan any. > But contributions are welcome.
Looks like a new entry in hmac unit + new sha256 unit would be needed. Codes are around the net but sticking to existing hash package citizens would be better for FPC future. Hope my crypto skill still stands :) > That is OK. > The encoded value depends for example on the amount of whitespace in the > JSON. > Also, JSON doesn't specify an order of keys (property names), so the input > and > output keys can be in a different order, which will also result in a > different > encoded value. Understood. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/JSON-Web-Token-JWT-implementation-needed-tp5723516p5723523.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal