1 | /**
|
2 | * @hidden
|
3 | */
|
4 | export declare class CryptoUtils {
|
5 | /**
|
6 | * Creates a new random GUID
|
7 | * @returns string (GUID)
|
8 | */
|
9 | static createNewGuid(): string;
|
10 | /**
|
11 | * verifies if a string is GUID
|
12 | * @param guid
|
13 | */
|
14 | static isGuid(guid: string): boolean;
|
15 | /**
|
16 | * Decimal to Hex
|
17 | *
|
18 | * @param num
|
19 | */
|
20 | static decimalToHex(num: number): string;
|
21 | /**
|
22 | * encoding string to base64 - platform specific check
|
23 | *
|
24 | * @param input
|
25 | */
|
26 | static base64Encode(input: string): string;
|
27 | /**
|
28 | * Decodes a base64 encoded string.
|
29 | *
|
30 | * @param input
|
31 | */
|
32 | static base64Decode(input: string): string;
|
33 | /**
|
34 | * deserialize a string
|
35 | *
|
36 | * @param query
|
37 | */
|
38 | static deserialize(query: string): object;
|
39 | }
|