PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@polkadot/util-crypto/nacl
Просмотр файла: decrypt.d.ts
/**
* @name naclDecrypt
* @summary Decrypts a message using the supplied secretKey and nonce
* @description
* Returns an decrypted message, using the `secret` and `nonce`.
* @example
* <BR>
*
* ```javascript
* import { naclDecrypt } from '@polkadot/util-crypto';
*
* naclDecrypt([...], [...], [...]); // => [...]
* ```
*/
export declare function naclDecrypt(encrypted: Uint8Array, nonce: Uint8Array, secret: Uint8Array): Uint8Array | null;
Выполнить команду
Для локальной разработки. Не используйте в интернете!