File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -692,6 +692,11 @@ key to this method.
692
692
693
693
NOTE: All paddings are defined in ` constants ` module.
694
694
695
+ ## crypto.publicDecrypt(public_key, buffer)
696
+
697
+ See above for details. Has the same API as ` crypto.publicEncrypt ` . Default
698
+ padding is ` RSA_PKCS1_PADDING ` .
699
+
695
700
## crypto.privateDecrypt(private_key, buffer)
696
701
697
702
Decrypts ` buffer ` with ` private_key ` .
@@ -715,11 +720,6 @@ NOTE: All paddings are defined in `constants` module.
715
720
See above for details. Has the same API as ` crypto.privateDecrypt ` .
716
721
Default padding is ` RSA_PKCS1_PADDING ` .
717
722
718
- ## crypto.publicDecrypt(public_key, buffer)
719
-
720
- See above for details. Has the same API as ` crypto.publicEncrypt ` . Default
721
- padding is ` RSA_PKCS1_PADDING ` .
722
-
723
723
## crypto.DEFAULT_ENCODING
724
724
725
725
The default encoding to use for functions that can take either strings
You can’t perform that action at this time.
0 commit comments