Crypto
Inherits: RefCounted < Object
There is currently no description for this class. Please help us by contributing one!
Methods
constant_time_compare ( PackedByteArray trusted, PackedByteArray received ) |
|
decrypt ( CryptoKey key, PackedByteArray ciphertext ) |
|
encrypt ( CryptoKey key, PackedByteArray plaintext ) |
|
generate_random_bytes ( int size ) |
|
generate_rsa ( int size ) |
|
generate_self_signed_certificate ( CryptoKey key, String issuer_name=”CN=myserver,O=myorganisation,C=IT”, String not_before=”20140101000000”, String not_after=”20340101000000” ) |
|
hmac_digest ( HashType hash_type, PackedByteArray key, PackedByteArray msg ) |
|
sign ( HashType hash_type, PackedByteArray hash, CryptoKey key ) |
|
verify ( HashType hash_type, PackedByteArray hash, PackedByteArray signature, CryptoKey key ) |
Method Descriptions
bool constant_time_compare ( PackedByteArray trusted, PackedByteArray received )
There is currently no description for this method. Please help us by contributing one!
PackedByteArray decrypt ( CryptoKey key, PackedByteArray ciphertext )
There is currently no description for this method. Please help us by contributing one!
PackedByteArray encrypt ( CryptoKey key, PackedByteArray plaintext )
There is currently no description for this method. Please help us by contributing one!
PackedByteArray generate_random_bytes ( int size )
There is currently no description for this method. Please help us by contributing one!
CryptoKey generate_rsa ( int size )
There is currently no description for this method. Please help us by contributing one!
X509Certificate generate_self_signed_certificate ( CryptoKey key, String issuer_name=”CN=myserver,O=myorganisation,C=IT”, String not_before=”20140101000000”, String not_after=”20340101000000” )
There is currently no description for this method. Please help us by contributing one!
PackedByteArray hmac_digest ( HashType hash_type, PackedByteArray key, PackedByteArray msg )
There is currently no description for this method. Please help us by contributing one!
PackedByteArray sign ( HashType hash_type, PackedByteArray hash, CryptoKey key )
There is currently no description for this method. Please help us by contributing one!
bool verify ( HashType hash_type, PackedByteArray hash, PackedByteArray signature, CryptoKey key )
There is currently no description for this method. Please help us by contributing one!