Browse Source

hex string returns lowercase

Logan Wright 10 years ago
parent
commit
270c2810b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      CryptoSwift/NSDataExtension.swift

+ 1 - 1
CryptoSwift/NSDataExtension.swift

@@ -97,7 +97,7 @@ extension NSData {
         for byte in bytesArray {
             s = s + String(format:"%02X", byte)
         }
-        return s;
+        return s.lowercaseString;
     }
     
     public func arrayOfBytes() -> [UInt8] {