export declare const crypto_box_PUBLICKEYBYTES: number; export declare const crypto_box_SECRETKEYBYTES: number; export declare const crypto_box_SEEDBYTES: number; export declare const crypto_box_NONCEBYTES: number; export declare const crypto_box_MACBYTES: number; export declare const crypto_box_SEALBYTES: number; /** * Encrypts a message with the recipient's public key. * https://sodium-friends.github.io/docs/docs/keyboxencryption#crypto_box_keypair */ export declare function crypto_box_keypair(pk: Uint8Array, sk: Uint8Array): void; /** * Keypairs can be generated with crypto_box_keypair() or crypto_box_seed_keypair(). * https://sodium-friends.github.io/docs/docs/sealedboxencryption#crypto_box_seal */ export declare function crypto_box_seal(cipherText: Uint8Array, message: Uint8Array, publicKey: Uint8Array): void; /** * Decrypts a message encoded with the sealed box method. * https://sodium-friends.github.io/docs/docs/sealedboxencryption#crypto_box_seal_open */ export declare function crypto_box_seal_open(message: Uint8Array, cipherText: Uint8Array, publicKey: Uint8Array, privateKey: Uint8Array): void; //# sourceMappingURL=crypto_box.d.ts.map