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)
commit48e0514e27b8d14897e6b89a4ff3e9daccd256f3
treec737dade4ea2eea6b5caed8868f0e3d1d5a2b287
parent9b305de15e3bafe8a1164ea824c14f2c38765b0f
parentb16c2d4dda3c220ff1ef708bcada88f2fd8beb96
Merge: Sha1 is digest

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