Godot::Crypto
Inherits Godot::RefCounted < Godot::Object < Reference < Object
Constructors
new(pointer : Pointer(Void) = Pointer(Void).null)
SourceInstance methods
constant_time_compare(trusted : Pointer(Void), received : Pointer(Void)) : Bool
Sourcedecrypt(key : CryptoKey, ciphertext : Pointer(Void)) : Pointer(Void)
Sourceencrypt(key : CryptoKey, plaintext : Pointer(Void)) : Pointer(Void)
Sourcegenerate_random_bytes(size : Int64) : Pointer(Void)
Sourcegenerate_rsa(size : Int64) : CryptoKey
Sourcegenerate_self_signed_certificate(key : CryptoKey, issuer_name : String, not_before : String, not_after : String) : X509Certificate
Sourcehmac_digest(hash_type : Int64, key : Pointer(Void), msg : Pointer(Void)) : Pointer(Void)
Sourcesign(hash_type : Int64, hash : Pointer(Void), key : CryptoKey) : Pointer(Void)
Sourceverify(hash_type : Int64, hash : Pointer(Void), signature : Pointer(Void), key : CryptoKey) : Bool
Source