@@ -399,7 +399,7 @@ This function is a shorthand of `cipher:init` plus `cipher:final`.
399
399
400
400
### cipher: init
401
401
402
- ** syntax** : * err = cipher: init (key, iv?, opts?)*
402
+ ** syntax** : * ok, err = cipher: init (key, iv?, opts?)*
403
403
404
404
Initialize the cipher with key ` key ` and IV ` iv ` . The optional third argument is a table consists of:
405
405
@@ -471,7 +471,7 @@ Module to interact with message digest (EVP_MD_CTX).
471
471
Creates a digest instance. ` digest_name ` is a case-insensitive string of digest algorithm name.
472
472
To view a list of digest algorithms implemented, use ` openssl list -digest-algorithms ` .
473
473
474
- If ` digest_name ` is omitted, it's by default to ` sha1 ` .
474
+ If ` digest_name ` is omitted, it's default to ` sha1 ` .
475
475
476
476
### digest.istype
477
477
@@ -481,7 +481,7 @@ Returns `true` if table is an instance of `digest`. Returns `false` otherwise.
481
481
482
482
### digest: update
483
483
484
- ** syntax** : * err = digest: update (partial, ...)*
484
+ ** syntax** : * ok, err = digest: update (partial, ...)*
485
485
486
486
Updates the digest with one or more strings.
487
487
@@ -515,7 +515,7 @@ Module to interact with hash-based message authentication code (HMAC_CTX).
515
515
Creates a hmac instance. ` digest_name ` is a case-insensitive string of digest algorithm name.
516
516
To view a list of digest algorithms implemented, use ` openssl list -digest-algorithms ` .
517
517
518
- If ` digest_name ` is omitted, it's by default to ` sha1 ` .
518
+ If ` digest_name ` is omitted, it's default to ` sha1 ` .
519
519
520
520
### hmac.istype
521
521
@@ -525,7 +525,7 @@ Returns `true` if table is an instance of `hmac`. Returns `false` otherwise.
525
525
526
526
### hmac: update
527
527
528
- ** syntax** : * err = hmac: update (partial, ...)*
528
+ ** syntax** : * ok, err = hmac: update (partial, ...)*
529
529
530
530
Updates the HMAC with one or more strings.
531
531
@@ -603,7 +603,7 @@ Returns a digest of the DER representation of the X509 certificate object in raw
603
603
` digest_name ` is a case-insensitive string of digest algorithm name.
604
604
To view a list of digest algorithms implemented, use ` openssl list -digest-algorithms ` .
605
605
606
- If ` digest_name ` is omitted, it's by default to ` sha1 ` .
606
+ If ` digest_name ` is omitted, it's default to ` sha1 ` .
607
607
608
608
### x509: pubkey_digest
609
609
@@ -614,7 +614,7 @@ Returns a digest of the DER representation of the pubkey in the X509 object in r
614
614
` digest_name ` is a case-insensitive string of digest algorithm name.
615
615
To view a list of digest algorithms implemented, use ` openssl list -digest-algorithms ` .
616
616
617
- If ` digest_name ` is omitted, it's by default to ` sha1 ` .
617
+ If ` digest_name ` is omitted, it's default to ` sha1 ` .
618
618
619
619
### x509: get_ * , x509: set_ *
620
620
0 commit comments