UNPKG

@ton/crypto

Version:

[![Version npm](https://img.shields.io/npm/v/@ton/crypto.svg?logo=npm)](https://www.npmjs.com/package/@ton/crypto)

12 lines (11 loc) 449 B
/** * Copyright (c) Whales Corp. * All Rights Reserved. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ /// <reference types="node" /> export declare function sha512_sync(source: Buffer | string): Buffer; export declare function sha512_fallback(source: Buffer | string): Promise<Buffer>; export declare function sha512(source: Buffer | string): Promise<Buffer>;