sha256: add an SHA-256 implementation using libgcrypt