 //  Copyright © 2016 Marcin Krzyzanowski. All rights reserved.
 //
 
-public struct NoPadding: Padding {
-    public init() {
-
-    }
-
-    public func add(to data: Array<UInt8>, blockSize:Int) -> Array<UInt8> {
+internal struct NoPadding: Padding {
+    internal init() {
+
+    }
+
+    internal func add(to data: Array<UInt8>, blockSize:Int) -> Array<UInt8> {
         return data;
     }
 
-    public func remove(from data: Array<UInt8>, blockSize:Int?) -> Array<UInt8> {
+    internal func remove(from data: Array<UInt8>, blockSize:Int?) -> Array<UInt8> {
         return data;
     }
 }


    //MARK: Authenticator

    public func authenticate(_ bytes:Array<UInt8>) throws -> Array<UInt8> {
        var opad = Array<UInt8>(repeating: 0x5c, count: variant.blockSize())
        for idx in key.indices {
            opad[idx] = key[idx] ^ opad[idx]

//  Copyright (c) 2015 Marcin Krzyzanowski. All rights reserved.
//

internal protocol Padding {
    func add(to: Array<UInt8>, blockSize:Int) -> Array<UInt8>
    func remove(from: Array<UInt8>, blockSize:Int?) -> Array<UInt8>
}
