Top 0.4% dependent packages on proxy.golang.org
Top 0.4% dependent repos on proxy.golang.org
Top 7.7% forks on proxy.golang.org
Top 0.8% docker downloads on proxy.golang.org
proxy.golang.org : github.com/stevvooe/resumable
Package resumable registers resumable versions of hash functions. Resumable varieties of hash functions are available via the standard crypto package. Support can be checked by type assertion against the resumable.Hash interface. While one can use these sub-packages directly, it makes more sense to register them using side-effect imports: This will make the resumable hashes available to the application through the standard crypto package. For example, if a new sha256 is required, one should use the following: Such a features allows one to control the inclusion of resumable hash support in a single file. Applications that require the resumable hash implementation can type switch to detect support, while other parts of the application can be completely oblivious to the presence of the alternative hash functions. Also note that the implementations available in this package are completely untouched from their Go counterparts in the standard library. Only an extra file is added to each package to implement the extra resumable hash functions.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/stevvooe/resumable
Keywords:
crypto
, golang
, sha256
, sha512
License: BSD-3-Clause
Latest release: over 6 years ago
First release: over 6 years ago
Namespace: github.com/stevvooe
Dependent packages: 152
Dependent repositories: 324
Stars: 3 on GitHub
Forks: 6 on GitHub
Docker dependents: 1
Docker downloads: 42,442
See more repository details: repos.ecosyste.ms
Last synced: 2 months ago