The Key MacroCryptoSys API provides a CryptoSys module that acts as a programming interface for generating cryptographic keys used to encrypt and decrypt data. It consists of four functions:
- GenerateKey()
- GenerateKeyEx()
- Encrypt()
- Decrypt()
All four functions are almost identical in operation, differing mainly in the options they accept. When the function returns, it will return the key either in the form of an array of bytes or as a plain string. For key generation and key wrapping, a PKCS#5 password is required.
The AES algorithm is one of the most secure block ciphers available. The Data Encryption Standard is insecure due to a known-plaintext attack. This algorithm has been adopted as an international standard.
Key Macros:
KeyMacro: Advanced Encryption Standard
KeyMacro: Data Encryption Standard
KeyMacro: Triple Data Encryption Standard
KeyMacro: Secure Hash Algorithm
KeyMacro: Secure Hash Algorithm
AES Example:
'Generate keys for AES
AesKeyGenerate = "GenerateKeyEx()"
Response.Write AesKeyGenerate
End Function
HMAC: Message Authentication Code
HMAC Description: This is a message authentication algorithm that can be used as an alternative to password-based encryption to authenticate the identity of a sender. When the sender encrypts a message, the MAC key is applied to the message with the key used to encrypt it.
The Secure Hash Algorithm is a collision-resistant hash function, and a commonly used MAC algorithm.
HMAC Macro: Hmac: Message Authentication Code
HMAC Description: This is a message authentication algorithm that can be used as an alternative to password-based encryption to authenticate the identity of a sender. When the sender encrypts a message, the MAC key is applied to the message with the key used to encrypt it.
HMAC Macro: Hmac: Message Authentication Code
HMAC Description: This is a message authentication algorithm that can be used as an alternative to password-based encryption to authenticate the identity of a sender. When the sender encrypts a message, the MAC key is applied to the message with the key used to encrypt it.
HMAC Example:
'Generate keys for HMAC
HmacKeyGenerate = "Hmac: Message Authentication Code"
Response.Write H a77f14ba26 dagtal
https://www.modularmind.co/profile/Gran ... AD/profilehttps://soyoshi.wixsite.com/soyoshi-mal ... ED/profilehttps://www.kaasfondueinblik.nl/profile ... ry/profilehttps://www.taubetaomega.com/profile/Co ... 36/profilehttps://en.novakasa.pt/profile/VSO-Vide ... ee/profile