UNPKG

@synotech/utils

Version:

a collection of utilities for internal use

12 lines (11 loc) 450 B
/** * This function returns a public key string without the header and footer * @module publicKeyGetString * @param {string} key - a stringified object in string format * @return {string} {string} a public key string without the header and footer * @example * * publicKeyGetString('-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA) * */ export declare const publicKeyGetString: (key: string | any) => any;