Warning: Current release of eXist crypto lib 5.3.0 has known fatal issues. See eXist-db#33.
- crypto:hash()
- crypto:hmac() (only for xs:string data for now)
- crypto:encrypt() (only for xs:string data and symmetric encryption for now)
- crypto:decrypt() (only for xs:string data and symmetric decryption for now)
- crypto:generate-signature() (only for XML data for now)
- crypto:validate-signature() (only for XML data for now)
- For crypto:hash(): "MD5", "SHA-1", "SHA-256", "SHA-384", "SHA-512".
- For crypto:hmac(): "HMAC-MD5", "HMAC-SHA-1", "HMAC-SHA-256", "HMAC-SHA-384", "HMAC-SHA-512".
For the latest version of the specification for this module see http://expath.org/spec/crypto/editor.
The implementation follows this specification.
For examples of usage, see this folder in github or this collection when this library is installed in eXist.
Unit Tests can be found in this folder in github or in this collection when this library is installed in eXist.
When this library is installed in eXist, to get a simple test runner, showing description and status (passed / failed) for each unit test, go here.