mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+1
-1
@@ -4,7 +4,7 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
declare module jsSHA {
|
||||
declare namespace jsSHA {
|
||||
export interface OutputFormatOptions {
|
||||
outputUpper? : boolean;
|
||||
b64Pad? : string;
|
||||
|
||||
Vendored
+5
-5
@@ -4,16 +4,16 @@
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
|
||||
declare module jsSHA {
|
||||
|
||||
declare namespace jsSHA {
|
||||
|
||||
export interface EncodingOptions {
|
||||
encoding? : string;
|
||||
}
|
||||
|
||||
|
||||
export interface Options extends EncodingOptions {
|
||||
numRounds? : number;
|
||||
}
|
||||
|
||||
|
||||
export interface OutputFormatOptions {
|
||||
outputUpper? : boolean;
|
||||
b64Pad? : string;
|
||||
@@ -42,7 +42,7 @@ declare module jsSHA {
|
||||
* of input format options
|
||||
*/
|
||||
setHMACKey(key:string, inputFormat:string, encodingOpts?:EncodingOptions):void;
|
||||
|
||||
|
||||
/**
|
||||
* Takes strString and hashes as many blocks as possible. Stores the
|
||||
* rest for either a future update or getHash call.
|
||||
|
||||
Reference in New Issue
Block a user