Operate v0.1.0-beta.15 Operate.VM.Extension.Crypto View Source
Extends the VM state with common crypto functions.
Link to this section Summary
Functions
Decrypts the given data with the given secret using AES-GCM.
Encrypts the given data with the given secret using AES-GCM.
Signs the given Bitcoin Message with the given ECDSA private key.
Verifies the given signature and Bitcoin Message with the given ECDSA public key.
Signs the given data with the given ECDSA private key.
Verifies the given signature and message with the given ECDSA public key.
Decrypts the given data with the given ECDSA private key using ECIES.
Encrypts the given data with the given ECDSA public key using ECIES.
Callback implementation for Operate.VM.Extension.extend/1
.
Hashes the given data using the specified algorithm.
Decrypts the given data with the given RSA public or private key.
Encrypts the given data with the given RSA public or private key.
Signs the given data with the given RSA private key.
Verifies the given signature and message with the given RSA public key.
Link to this section Functions
Decrypts the given data with the given secret using AES-GCM.
Encrypts the given data with the given secret using AES-GCM.
Signs the given Bitcoin Message with the given ECDSA private key.
Verifies the given signature and Bitcoin Message with the given ECDSA public key.
Signs the given data with the given ECDSA private key.
Verifies the given signature and message with the given ECDSA public key.
Decrypts the given data with the given ECDSA private key using ECIES.
Encrypts the given data with the given ECDSA public key using ECIES.
Callback implementation for Operate.VM.Extension.extend/1
.
Hashes the given data using the specified algorithm.
Decrypts the given data with the given RSA public or private key.
Encrypts the given data with the given RSA public or private key.
Signs the given data with the given RSA private key.
Verifies the given signature and message with the given RSA public key.