Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kahlys/webcrypto
Golang wrapper around the WebCryptoAPI
https://github.com/kahlys/webcrypto
golang golang-wrapper webcrypto-api
Last synced: 3 days ago
JSON representation
Golang wrapper around the WebCryptoAPI
- Host: GitHub
- URL: https://github.com/kahlys/webcrypto
- Owner: kahlys
- License: mit
- Created: 2018-02-08T10:42:24.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-04-23T09:49:14.000Z (almost 6 years ago)
- Last Synced: 2024-06-20T16:38:48.254Z (7 months ago)
- Topics: golang, golang-wrapper, webcrypto-api
- Language: Go
- Size: 12.7 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# webcrypto
![stability-wip](https://img.shields.io/badge/stability-work_in_progress-lightgrey.svg)
[![GoDoc](https://godoc.org/github.com/kahlys/webcrypto?status.svg)](https://godoc.org/github.com/kahlys/webcrypto)
[![Go Report Card](https://goreportcard.com/badge/github.com/kahlys/webcrypto)](https://goreportcard.com/report/github.com/kahlys/webcrypto)Golang wrapper around the WebCryptoAPI.
## Installation
With a correctly configured [Go toolchain](https://golang.org/doc/install):
```
$ go get -u github.com/gopherjs/gopherjs
$ go get -u github.com/kahlys/webcrypto
```## Testing
Go to the test directory, compile using gopherjs, then open `test.html` with a browser and look results at the console.
```
$ cd test
$ gopherjs build test.go
```## Packages
- [SHA](https://godoc.org/github.com/kahlys/webcrypto/sha) : [sha-1](https://godoc.org/github.com/kahlys/webcrypto/sha#Sum1) | [sha-256](https://godoc.org/github.com/kahlys/webcrypto/sha#Sum256) | [sha-384](https://godoc.org/github.com/kahlys/webcrypto/sha#Sum384) | [sha-512](https://godoc.org/github.com/kahlys/webcrypto/sha#Sum512)
- [AES](https://godoc.org/github.com/kahlys/webcrypto/aes) : [cbc](https://godoc.org/github.com/kahlys/webcrypto/aes#EncryptCBC) | [gcm](https://godoc.org/github.com/kahlys/webcrypto/aes#EncryptGCM)
- [RSA](https://godoc.org/github.com/kahlys/webcrypto/rsa) : [rsassa-pkcs1-v1_5](https://godoc.org/github.com/kahlys/webcrypto/rsa#SignPKCS1) | [rsa-pss](https://godoc.org/github.com/kahlys/webcrypto/rsa#SignPSS) | ["rsa-oaep"](https://godoc.org/github.com/kahlys/webcrypto/rsa#EncryptOAEP)
- [ECDSA](https://godoc.org/github.com/kahlys/webcrypto/ecdsa)