|
@@ -5,6 +5,8 @@
|
|
// Created by Marcin Krzyzanowski on 21/11/14.
|
|
// Created by Marcin Krzyzanowski on 21/11/14.
|
|
// Copyright (c) 2014 Marcin Krzyzanowski. All rights reserved.
|
|
// Copyright (c) 2014 Marcin Krzyzanowski. All rights reserved.
|
|
//
|
|
//
|
|
|
|
+// Implementation of Gladman algorithm http://www.gladman.me.uk/AES
|
|
|
|
+//
|
|
|
|
|
|
final public class AES {
|
|
final public class AES {
|
|
|
|
|
|
@@ -439,4 +441,4 @@ extension AES: Cipher {
|
|
public func cipherDecrypt(bytes: [UInt8]) throws -> [UInt8] {
|
|
public func cipherDecrypt(bytes: [UInt8]) throws -> [UInt8] {
|
|
return try self.decrypt(bytes)
|
|
return try self.decrypt(bytes)
|
|
}
|
|
}
|
|
-}
|
|
|
|
|
|
+}
|