@krypton-org/krypton-auth
Version:
Express authentication middleware, using GraphQL and JSON Web Tokens.
14 lines (13 loc) • 329 B
TypeScript
/**
* Module defining functions for Public & Private keys generation.
* @module crypto/RSAKeysGeneration
*/
/**
* Generating rsa public and private keys.
* @returns {{ publicKey: string; privateKey: string }}
*/
declare const generateKeys: () => {
publicKey: string;
privateKey: string;
};
export { generateKeys };