diff options
| -rw-r--r-- | README.md | 4 | ||||
| -rw-r--r-- | kmac.go | 17 | ||||
| -rw-r--r-- | kmac_test.go | 17 |
3 files changed, 38 insertions, 0 deletions
@@ -6,3 +6,7 @@ implementation here is based on the `crypto/sha3` package from the Go standard library. I do not recommend using this package. Consider using `crypto/hmac` instead. + +## Concat + +Please send inquiries and patches to <r@roseh.moe> @@ -1,3 +1,20 @@ +// Copyright 2026 Rose Hogenson <r@roseh.moe> +// +// This file is part of roseh.moe/pkg/kmac. +// +// roseh.moe/pkg/kmac is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// roseh.moe/pkg/kmac is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +// more details. +// +// You should have received a copy of the GNU General Public License along with +// roseh.moe/pkg/kmac. If not, see <https://www.gnu.org/licenses/>. + // Package kmac implements the KMAC128 and KMAC256 keyed hash functions based // on sha3. // diff --git a/kmac_test.go b/kmac_test.go index 0bddfc3..2262965 100644 --- a/kmac_test.go +++ b/kmac_test.go @@ -1,3 +1,20 @@ +// Copyright 2026 Rose Hogenson <r@roseh.moe> +// +// This file is part of roseh.moe/pkg/kmac. +// +// roseh.moe/pkg/kmac is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by the +// Free Software Foundation, either version 3 of the License, or (at your +// option) any later version. +// +// roseh.moe/pkg/kmac is distributed in the hope that it will be useful, but +// WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY +// or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for +// more details. +// +// You should have received a copy of the GNU General Public License along with +// roseh.moe/pkg/kmac. If not, see <https://www.gnu.org/licenses/>. + package kmac func Example_kdf() { |
