mirror of
https://github.com/pezkuwichain/pezkuwi-common.git
synced 2026-04-22 02:07:56 +00:00
16 lines
545 B
TypeScript
16 lines
545 B
TypeScript
/**
|
|
* @name ed25519Sign
|
|
* @summary Verifies the signature on the supplied message.
|
|
* @description
|
|
* Verifies the `signature` on `message` with the supplied `publicKey`. Returns `true` on sucess, `false` otherwise.
|
|
* @example
|
|
* <BR>
|
|
*
|
|
* ```javascript
|
|
* import { ed25519Verify } from '@pezkuwi/util-crypto';
|
|
*
|
|
* ed25519Verify([...], [...], [...]); // => true/false
|
|
* ```
|
|
*/
|
|
export declare function ed25519Verify(message: string | Uint8Array, signature: string | Uint8Array, publicKey: string | Uint8Array, onlyJs?: boolean): boolean;
|