Skip to content

Commit

Permalink
Update access level of RSA(n:e:d:p:q:) initializer to public
Browse files Browse the repository at this point in the history
  • Loading branch information
Zsombor Szabo committed May 3, 2023
1 parent 06213b5 commit a097b75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/CryptoSwift/RSA/RSA.swift
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public final class RSA: DERCodable {
/// - d: The RSA Private Exponent
/// - p: The 1st Prime used to generate the Private Exponent
/// - q: The 2nd Prime used to generate the Private Exponent
private init(n: BigUInteger, e: BigUInteger, d: BigUInteger, p: BigUInteger, q: BigUInteger) {
public init(n: BigUInteger, e: BigUInteger, d: BigUInteger, p: BigUInteger, q: BigUInteger) {
self.n = n
self.e = e
self.d = d
Expand Down

0 comments on commit a097b75

Please sign in to comment.