1616}
1717
1818
19- function Credentials ( method ) {
19+ function Credentials ( method ) {
2020 if ( ! ( this instanceof Credentials ) ) {
2121 return new Credentials ( method ) ;
2222 }
@@ -38,7 +38,7 @@ function Credentials (method) {
3838exports . Credentials = Credentials ;
3939
4040
41- exports . createCredentials = function ( options ) {
41+ exports . createCredentials = function ( options ) {
4242 if ( ! options ) options = { } ;
4343 var c = new Credentials ( options . method ) ;
4444
@@ -63,46 +63,46 @@ exports.createCredentials = function (options) {
6363
6464
6565exports . Hash = Hash ;
66- exports . createHash = function ( hash ) {
66+ exports . createHash = function ( hash ) {
6767 return new Hash ( hash ) ;
6868} ;
6969
7070
7171exports . Hmac = Hmac ;
72- exports . createHmac = function ( hmac , key ) {
72+ exports . createHmac = function ( hmac , key ) {
7373 return ( new Hmac ) . init ( hmac , key ) ;
7474} ;
7575
7676
7777exports . Cipher = Cipher ;
78- exports . createCipher = function ( cipher , key ) {
78+ exports . createCipher = function ( cipher , key ) {
7979 return ( new Cipher ) . init ( cipher , key ) ;
8080} ;
8181
8282
83- exports . createCipheriv = function ( cipher , key , iv ) {
83+ exports . createCipheriv = function ( cipher , key , iv ) {
8484 return ( new Cipher ) . initiv ( cipher , key , iv ) ;
8585} ;
8686
8787
8888exports . Decipher = Decipher ;
89- exports . createDecipher = function ( cipher , key ) {
89+ exports . createDecipher = function ( cipher , key ) {
9090 return ( new Decipher ) . init ( cipher , key ) ;
9191} ;
9292
9393
94- exports . createDecipheriv = function ( cipher , key , iv ) {
94+ exports . createDecipheriv = function ( cipher , key , iv ) {
9595 return ( new Decipher ) . initiv ( cipher , key , iv ) ;
9696} ;
9797
9898
9999exports . Sign = Sign ;
100- exports . createSign = function ( algorithm ) {
100+ exports . createSign = function ( algorithm ) {
101101 return ( new Sign ) . init ( algorithm ) ;
102102} ;
103103
104104exports . Verify = Verify ;
105- exports . createVerify = function ( algorithm ) {
105+ exports . createVerify = function ( algorithm ) {
106106 return ( new Verify ) . init ( algorithm ) ;
107107} ;
108108
0 commit comments