Browse Source

Make MD5 class final

Marcin Krzyżanowski 9 years ago
parent
commit
b862f92857
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/CryptoSwift/MD5.swift

+ 1 - 1
Sources/CryptoSwift/MD5.swift

@@ -6,7 +6,7 @@
 //  Copyright (c) 2014 Marcin Krzyzanowski. All rights reserved.
 //
 
-public class MD5: DigestType  {
+public final class MD5: DigestType  {
     static let blockSize:Int = 64
     static let digestLength:Int = 16 // 128 / 8
     fileprivate static let hashInitialValue:Array<UInt32> = [0x67452301, 0xefcdab89, 0x98badcfe, 0x10325476]