Skip to content

encryptSecret

encryptSecret(publicKeyBase64, value): Promise<string>

Defined in: plugins/holocron-plugin-github/src/sodium.ts:42

Encrypt value for the given GitHub-provided base64 public key. Returns the base64 ciphertext to send as encrypted_value.

string

string

Promise<string>