UNPKG

@govtechsg/open-attestation

Version:
18 lines (17 loc) 961 B
import { Salt } from "./types"; /** * @deprecated will be removed in the next major release in favour of OpenAttestation v4.0 (more info: https://github.com/Open-Attestation/open-attestation/tree/alpha) */ export declare const secureRandomString: () => string; /** * @deprecated will be removed in the next major release in favour of OpenAttestation v4.0 (more info: https://github.com/Open-Attestation/open-attestation/tree/alpha) */ export declare const salt: (data: any) => Salt[]; /** * @deprecated will be removed in the next major release in favour of OpenAttestation v4.0 (more info: https://github.com/Open-Attestation/open-attestation/tree/alpha) */ export declare const encodeSalt: (salts: Salt[]) => string; /** * @deprecated will be removed in the next major release in favour of OpenAttestation v4.0 (more info: https://github.com/Open-Attestation/open-attestation/tree/alpha) */ export declare const decodeSalt: (salts: string) => Salt[];