Quellcode durchsuchen

Remove redundant public modifiers

Rob Napier vor 5 Jahren
Ursprung
Commit
32d09a3e74
1 geänderte Dateien mit 3 neuen und 3 gelöschten Zeilen
  1. 3 3
      Sources/RNCryptor/RNCryptor.swift

+ 3 - 3
Sources/RNCryptor/RNCryptor.swift

@@ -232,7 +232,7 @@ public enum RNCryptor {
 // V3 implementaion
 public extension RNCryptor {
     /// V3 format settings
-    public final class FormatV3 {
+    final class FormatV3 {
         /// Size of AES and HMAC keys
         public static let keySize = kCCKeySizeAES256
 
@@ -280,7 +280,7 @@ public extension RNCryptor {
     /// Format version 3 encryptor. Use this to ensure a specific format verison
     /// or when using keys (which are inherrently versions-specific). To use
     /// "the latest encryptor" with a password, use `Encryptor` instead.
-    public final class EncryptorV3 : RNCryptorType {
+    final class EncryptorV3 : RNCryptorType {
         private let engine: Engine
         private let hmac: HMACV3
         private var pendingHeader: Data?
@@ -386,7 +386,7 @@ public extension RNCryptor {
     /// using keys (since key configuration is version-specific). For password
     /// decryption, `Decryptor` is generally preferred, and will call this
     /// if appropriate.
-    public final class DecryptorV3: VersionedDecryptorType {
+    final class DecryptorV3: VersionedDecryptorType {
         //
         // Static methods
         //