Browse Source

reworking the lowercase to use an appropriate format as opposed to lowercaseString

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

+ 2 - 2
CryptoSwift/NSDataExtension.swift

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