UNPKG

aws-cognito-srp-client

Version:

SRP Client for AWS Cognito UserPools SRP Auth Flow

9 lines (8 loc) 507 B
import { BigInteger } from "./bigInteger"; import WordArray from "crypto-js/lib-typedarrays"; export declare const padHex: (bigInteger: BigInteger) => string; export declare const hash: (str: WordArray) => string; export declare const hexHash: (hexStr: string) => string; export declare const randomValue: (nBytes: number) => BigInteger; export declare const computehkdf: (ikm: WordArray, salt: WordArray) => WordArray; export declare const computeSignature: (message: WordArray, key: WordArray) => string;