Skip to content
This repository has been archived by the owner on Dec 17, 2021. It is now read-only.

Digest property return "" in Swift 3.1 #28

Closed
r-plus opened this issue Apr 3, 2017 · 4 comments
Closed

Digest property return "" in Swift 3.1 #28

r-plus opened this issue Apr 3, 2017 · 4 comments

Comments

@r-plus
Copy link

r-plus commented Apr 3, 2017

All of the digest(MD2, MD4, MD5, SHA1, SHA224, SHA256, SHA384, SHA512) for String extension return "".

"sam".sha1 // ""

Crypto: 0.5.1
CommonCrypto: 1.1.0
Xcode: 8.3
Swift: 3.1

@soffes soffes closed this as completed in c67b652 Apr 3, 2017
@r-plus
Copy link
Author

r-plus commented Apr 3, 2017

Thanks for quickly fix.

@r-plus
Copy link
Author

r-plus commented Apr 3, 2017

In our internal test, 0.5.2 still return "".

@r-plus
Copy link
Author

r-plus commented Apr 3, 2017

Sorry, its my mistake.
0.5.2 is correct 👍

@soffes
Copy link
Owner

soffes commented Apr 3, 2017

Good! Glad you got it! I spent the last half hour trying to make sure it worked (and even made a video). Glad you figured it out! Sorry for that weird bug :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants