class

Godot::Crypto

Inherits Godot::RefCounted < Godot::Object < Reference < Object

Constructors

new(pointer : Pointer(Void) = Pointer(Void).null)
Source

Instance methods

constant_time_compare(trusted : Pointer(Void), received : Pointer(Void)) : Bool
Source
decrypt(key : CryptoKey, ciphertext : Pointer(Void)) : Pointer(Void)
Source
encrypt(key : CryptoKey, plaintext : Pointer(Void)) : Pointer(Void)
Source
generate_random_bytes(size : Int64) : Pointer(Void)
Source
generate_rsa(size : Int64) : CryptoKey
Source
generate_self_signed_certificate(key : CryptoKey, issuer_name : String, not_before : String, not_after : String) : X509Certificate
Source
hmac_digest(hash_type : Int64, key : Pointer(Void), msg : Pointer(Void)) : Pointer(Void)
Source
sign(hash_type : Int64, hash : Pointer(Void), key : CryptoKey) : Pointer(Void)
Source
verify(hash_type : Int64, hash : Pointer(Void), signature : Pointer(Void), key : CryptoKey) : Bool
Source