Merge: Sha1 is digest
authorJean Privat <jean@pryen.org>
Tue, 16 May 2017 13:28:07 +0000 (09:28 -0400)
committerJean Privat <jean@pryen.org>
Tue, 16 May 2017 13:28:07 +0000 (09:28 -0400)
Change receiver of Sha1 methods from String to Text since no service was specific to immutable instances, and add a sha1_is_digest method to Text, to check whether an instance matches the signature of a SHA-1 digest or not.

Pull-Request: #2440


Trivial merge