ts-sdk

utils.d.ts 486B

1234567891011121314
  1. declare class Utils {
  2. private static code;
  3. static crc32(str: string): number;
  4. static ab2str(buf: ArrayBuffer): string;
  5. static str2ab(str: string): ArrayBuffer;
  6. static decrypt(data: any, key: any, iv: any): any;
  7. static encrypt(data: any, key: any, iv: any): string;
  8. static binToBase64(bitString: any): string;
  9. static base64ToBin(str: any): string;
  10. static stringToBin(str: string): string;
  11. static binToStr(bin: string): string;
  12. }
  13. export { Utils };