564
edits
Changes
→Browser Window property
// encrypt a plainText
encrypt: function ( plainText, publicKey, function callback (cipherMessageObject) ) { } ) { },
// decrypt a cipherMessage
// encrypt some data
encrypt: function (plainText, key, function callback( cipherText ){ }) { },
// decrypt some data
hash: {
SHA256: function (function callback (hash){}) { } }, hmac: { get algorithm() { }, set algorithm(algorithm){ }, createHMAC: function (plaintext, key, function callback( mac ){ }) { }, verifyHMAC: function(plaintext, key, receivedMac, function callback( booleanVerified ){ }) { }
}
}