DOMCrypt PublicKey API Tests

generateKeypair() results: a public key, with a full keypair saved to disk

getPublicKey() results: a public key

encrypt() results: an encrypted blob of data

decrypt() results: a decrypted string

sign() results: a signature

verify() results: verification

SHA256() results: a hash

DOMCrypt Symmetric API Tests

sym.generateKey() results


    

sym.encrypt() results


    

sym.decrypt() results


    

sym.wrapKey() results

Second encryption operation results


    

wrapped key operation results


    

wrapped key decrypt operation results



    

Encrypt text


Decrypt text