forked from golang/hotime
29 lines
1.0 KiB
Markdown
29 lines
1.0 KiB
Markdown
[![Go Reference](https://pkg.go.dev/badge/github.com/xdg-go/stringprep.svg)](https://pkg.go.dev/github.com/xdg-go/stringprep)
|
||
[![Go Report Card](https://goreportcard.com/badge/github.com/xdg-go/stringprep)](https://goreportcard.com/report/github.com/xdg-go/stringprep)
|
||
[![Github Actions](https://github.com/xdg-go/stringprep/actions/workflows/test.yml/badge.svg)](https://github.com/xdg-go/stringprep/actions/workflows/test.yml)
|
||
|
||
# stringprep – Go implementation of RFC-3454 stringprep and RFC-4013 SASLprep
|
||
|
||
## Synopsis
|
||
|
||
```
|
||
import "github.com/xdg-go/stringprep"
|
||
|
||
prepped := stringprep.SASLprep.Prepare("TrustNô1")
|
||
|
||
```
|
||
|
||
## Description
|
||
|
||
This library provides an implementation of the stringprep algorithm
|
||
(RFC-3454) in Go, including all data tables.
|
||
|
||
A pre-built SASLprep (RFC-4013) profile is provided as well.
|
||
|
||
## Copyright and License
|
||
|
||
Copyright 2018 by David A. Golden. All rights reserved.
|
||
|
||
Licensed under the Apache License, Version 2.0 (the "License"). You may
|
||
obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
|