EgretDoc
Back to Home
Location:system/crypto.rsa

Module

Module documentation.

modulecrypto.rsa

Classes

Classes and inheritance.

Functions

Free functions and class methods.

functioncrypto.rsa::__rsa_public_encrypt_pkcs1
Signatureextern func __rsa_public_encrypt_pkcs1(public_key_pem: String, plain: String) -> String;
extern func __rsa_public_encrypt_pkcs1(public_key_pem: String, plain: String) -> String;
/*
@brief Binds the low-level runtime symbol `__rsa_public_encrypt_oaep`.
@briefBinds the low-level runtime symbol `__rsa_public_encrypt_pkcs1`.
@detailsThis function is an external entry point used by system modules to access native runtime capabilities such as filesystem, networking, threading, GC, cryptography, or platform operations. Prefer the safe wrapper functions in the same file when available. When calling this entry directly, pass validated arguments that match the signature and handle failures according to the return-value convention.
@param
  • public_key_pemPEM-encoded public key used for encryption or verification.
  • plainPlain-text input or decoded value before encryption, hashing, or encoding.
@returnReturns the operation result as `String`.
functioncrypto.rsa::__rsa_public_encrypt_oaep
Signatureextern func __rsa_public_encrypt_oaep(public_key_pem: String, plain: String) -> String;
extern func __rsa_public_encrypt_oaep(public_key_pem: String, plain: String) -> String;

/*
@briefBinds the low-level runtime symbol `__rsa_public_encrypt_oaep`.
@detailsThis function is an external entry point used by system modules to access native runtime capabilities such as filesystem, networking, threading, GC, cryptography, or platform operations. Prefer the safe wrapper functions in the same file when available. When calling this entry directly, pass validated arguments that match the signature and handle failures according to the return-value convention.
@param
  • public_key_pemPEM-encoded public key used for encryption or verification.
  • plainPlain-text input or decoded value before encryption, hashing, or encoding.
@returnReturns the operation result as `String`.
functioncrypto.rsa::public_encrypt_pkcs1
Signaturefunc public_encrypt_pkcs1(public_key_pem: String, plain: String) -> String
func public_encrypt_pkcs1(public_key_pem: String, plain: String) -> String {
    return __rsa_public_encrypt_pkcs1(public_key_pem, plain);
}
@briefProvides the system library operation `public_encrypt_pkcs1`.
@detailsExecutes the `public_encrypt_pkcs1` system-library API. The documented parameters define the accepted inputs, ownership requirements, range limits, and timeout behavior for this call. Callers must check returned `ErrCode` values or boolean status values before using the result.
@param
  • public_key_pemPEM-encoded public key used for encryption or verification.
  • plainPlain-text input or decoded value before encryption, hashing, or encoding.
@returnReturns the operation result as `String`.
functioncrypto.rsa::public_encrypt_oaep
Signaturefunc public_encrypt_oaep(public_key_pem: String, plain: String) -> String
func public_encrypt_oaep(public_key_pem: String, plain: String) -> String {
    return __rsa_public_encrypt_oaep(public_key_pem, plain);
}
@briefProvides the system library operation `public_encrypt_oaep`.
@detailsExecutes the `public_encrypt_oaep` system-library API. The documented parameters define the accepted inputs, ownership requirements, range limits, and timeout behavior for this call. Callers must check returned `ErrCode` values or boolean status values before using the result.
@param
  • public_key_pemPEM-encoded public key used for encryption or verification.
  • plainPlain-text input or decoded value before encryption, hashing, or encoding.
@returnReturns the operation result as `String`.

Variables

Class fields (var).