Import base85.go into tree

Upstream is not maintained last commit was six years ago and there
are various improvements to be had in the code
This commit is contained in:
Kovid Goyal
2023-09-04 20:29:20 +05:30
parent aad330135c
commit 0107d1cb89
7 changed files with 397 additions and 9 deletions

View File

@@ -10,12 +10,12 @@ import (
"crypto/sha256"
"encoding/json"
"fmt"
"kitty/tools/utils"
"strconv"
"strings"
"time"
"github.com/jamesruan/go-rfc1924/base85"
"kitty/tools/utils"
"kitty/tools/utils/base85"
)
func curve25519_key_pair() (private_key []byte, public_key []byte, err error) {