فهرست منبع

Added links to the IETF Specs

Brandon Toms 3 سال پیش
والد
کامیت
23c9f43b5e
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 4 0
      Sources/CryptoSwift/PKCS/PKCS1v15.swift

+ 4 - 0
Sources/CryptoSwift/PKCS/PKCS1v15.swift

@@ -27,6 +27,8 @@
 /// EM = 0x00 || 0x01 || PS || 0x00 || M.
 /// EM = 0x00 || 0x01 || PS || 0x00 || M.
 /// ```
 /// ```
 /// - Note: This Padding scheme is intended to be used for encoding RSA Signatures
 /// - Note: This Padding scheme is intended to be used for encoding RSA Signatures
+///
+/// [EMSA-PKCS1v1_5 IETF Spec](https://datatracker.ietf.org/doc/html/rfc8017#section-9.2)
 struct EMSAPKCS1v15Padding: PaddingProtocol {
 struct EMSAPKCS1v15Padding: PaddingProtocol {
 
 
   init() {
   init() {
@@ -64,6 +66,8 @@ struct EMSAPKCS1v15Padding: PaddingProtocol {
 /// EM = 0x00 || 0x02 || PS || 0x00 || M.
 /// EM = 0x00 || 0x02 || PS || 0x00 || M.
 /// ```
 /// ```
 /// - Note: This Padding scheme is intended to be used for encoding messages before RSA Encryption
 /// - Note: This Padding scheme is intended to be used for encoding messages before RSA Encryption
+///
+/// [EME-PKCS1v1_5 IETF Spec](https://datatracker.ietf.org/doc/html/rfc8017#section-7.2.1)
 struct EMEPKCS1v15Padding: PaddingProtocol {
 struct EMEPKCS1v15Padding: PaddingProtocol {
 
 
   init() {
   init() {