diff --git a/RELEASING.md b/RELEASING.md index 2de8ea5..14ba63c 100644 --- a/RELEASING.md +++ b/RELEASING.md @@ -2,9 +2,4 @@ See [KotlinCrypto/documentation/RELEASING.md][url-kotlincrypto-releasing] -Additionally, publish dokka documentation updates -```bash -./gh-pages/publish.sh -``` - [url-kotlincrypto-releasing]: https://github.com/KotlinCrypto/documentation/blob/master/RELEASING.md diff --git a/benchmarks/build.gradle.kts b/benchmarks/build.gradle.kts index 7187ee3..7216a5b 100644 --- a/benchmarks/build.gradle.kts +++ b/benchmarks/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/benchmarks/src/commonMain/kotlin/org/kotlincrypto/bitops/benchmarks/BenchmarkParams.kt b/benchmarks/src/commonMain/kotlin/org/kotlincrypto/bitops/benchmarks/BenchmarkParams.kt index d26f46a..d5d1fa2 100644 --- a/benchmarks/src/commonMain/kotlin/org/kotlincrypto/bitops/benchmarks/BenchmarkParams.kt +++ b/benchmarks/src/commonMain/kotlin/org/kotlincrypto/bitops/benchmarks/BenchmarkParams.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/benchmarks/src/commonMain/kotlin/org/kotlincrypto/bitops/benchmarks/EndianOps.kt b/benchmarks/src/commonMain/kotlin/org/kotlincrypto/bitops/benchmarks/EndianOps.kt index 834de73..662c4db 100644 --- a/benchmarks/src/commonMain/kotlin/org/kotlincrypto/bitops/benchmarks/EndianOps.kt +++ b/benchmarks/src/commonMain/kotlin/org/kotlincrypto/bitops/benchmarks/EndianOps.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/build-logic/build.gradle.kts b/build-logic/build.gradle.kts index dfa10a6..f3c1364 100644 --- a/build-logic/build.gradle.kts +++ b/build-logic/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/build-logic/settings.gradle.kts b/build-logic/settings.gradle.kts index 2241d25..faff0cc 100644 --- a/build-logic/settings.gradle.kts +++ b/build-logic/settings.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/build-logic/src/main/kotlin/-KmpConfigurationExtension.kt b/build-logic/src/main/kotlin/-KmpConfigurationExtension.kt index 3ce1dbd..e34fb75 100644 --- a/build-logic/src/main/kotlin/-KmpConfigurationExtension.kt +++ b/build-logic/src/main/kotlin/-KmpConfigurationExtension.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/build-logic/src/main/kotlin/configuration.gradle.kts b/build-logic/src/main/kotlin/configuration.gradle.kts index 76eb7f6..149099c 100644 --- a/build-logic/src/main/kotlin/configuration.gradle.kts +++ b/build-logic/src/main/kotlin/configuration.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/build-logic/src/main/kotlin/dokka.gradle.kts b/build-logic/src/main/kotlin/dokka.gradle.kts index 48740b0..bba82b4 100644 --- a/build-logic/src/main/kotlin/dokka.gradle.kts +++ b/build-logic/src/main/kotlin/dokka.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/build-logic/src/main/kotlin/publication.gradle.kts b/build-logic/src/main/kotlin/publication.gradle.kts index 3ca4d23..189d8fe 100644 --- a/build-logic/src/main/kotlin/publication.gradle.kts +++ b/build-logic/src/main/kotlin/publication.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/build.gradle.kts b/build.gradle.kts index e0e3e78..5f2d5be 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/gh-pages/publish.sh b/gh-pages/publish.sh index 12bef17..859a19e 100755 --- a/gh-pages/publish.sh +++ b/gh-pages/publish.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright (c) 2025 Matthew Nelson +# Copyright (c) 2025 KotlinCrypto # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/library/bits/build.gradle.kts b/library/bits/build.gradle.kts index d889045..ddb52f3 100644 --- a/library/bits/build.gradle.kts +++ b/library/bits/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/library/bits/gradle.properties b/library/bits/gradle.properties index 2afcd98..013a190 100644 --- a/library/bits/gradle.properties +++ b/library/bits/gradle.properties @@ -1,4 +1,4 @@ -# Copyright (c) 2025 Matthew Nelson +# Copyright (c) 2025 KotlinCrypto # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/library/bits/src/commonMain/kotlin/org/kotlincrypto/bitops/bits/Counter.kt b/library/bits/src/commonMain/kotlin/org/kotlincrypto/bitops/bits/Counter.kt index 2beac90..fe1da32 100644 --- a/library/bits/src/commonMain/kotlin/org/kotlincrypto/bitops/bits/Counter.kt +++ b/library/bits/src/commonMain/kotlin/org/kotlincrypto/bitops/bits/Counter.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/library/bits/src/commonTest/kotlin/org/kotlincrypto/bitops/bits/CounterUnitTest.kt b/library/bits/src/commonTest/kotlin/org/kotlincrypto/bitops/bits/CounterUnitTest.kt index 3a71585..f207c08 100644 --- a/library/bits/src/commonTest/kotlin/org/kotlincrypto/bitops/bits/CounterUnitTest.kt +++ b/library/bits/src/commonTest/kotlin/org/kotlincrypto/bitops/bits/CounterUnitTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/library/bits/src/jvmTest/kotlin/org/kotlincrypto/bitops/bits/CounterJvmUnitTest.kt b/library/bits/src/jvmTest/kotlin/org/kotlincrypto/bitops/bits/CounterJvmUnitTest.kt index 07a3bbc..1949f8e 100644 --- a/library/bits/src/jvmTest/kotlin/org/kotlincrypto/bitops/bits/CounterJvmUnitTest.kt +++ b/library/bits/src/jvmTest/kotlin/org/kotlincrypto/bitops/bits/CounterJvmUnitTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/library/endian/README.md b/library/endian/README.md index 0c593f8..0ca8616 100644 --- a/library/endian/README.md +++ b/library/endian/README.md @@ -6,26 +6,26 @@ are pervasive such that the `Endian.Big` & `Endian.Little` implementations are a ```kotlin val b = ByteArray(Long.SIZE_BYTES) { -10 } -arrayOf(Endian.Big, Endian.Little).forEach { endian -> - println(endian) +arrayOf(Endian.Big, Endian.Little).forEach { endianness -> + println(endianness) // Short - endian.pack(source = 3883.toShort(), dest = b, destOffset = 0) + endianness.pack(source = 3883.toShort(), dest = b, destOffset = 0) println(b.toList()) - println(endian.shortFrom(source = b, offset = 0)) - // Alternatively: endian.shortOf(b[0], b[1]) + println(endianness.shortFrom(source = b, offset = 0)) + // Alternatively: endianness.shortOf(b[0], b[1]) // Int - endian.pack(source = 3883541, dest = b, destOffset = 0) + endianness.pack(source = 3883541, dest = b, destOffset = 0) println(b.toList()) - println(endian.intFrom(source = b, offset = 0)) - // Alternatively: endian.intOf(b[0], b[1], b[2], b[3]) + println(endianness.intFrom(source = b, offset = 0)) + // Alternatively: endianness.intOf(b[0], b[1], b[2], b[3]) // Long - endian.pack(source = 1948571948571333L, dest = b, destOffset = 0) + endianness.pack(source = 1948571948571333L, dest = b, destOffset = 0) println(b.toList()) - println(endian.longFrom(source = b, offset = 0)) - // Alternatively: endian.longOf(b[0], b[1], b[2], b[3], b[4], b[5], b[6], b[7]) + println(endianness.longFrom(source = b, offset = 0)) + // Alternatively: endianness.longOf(b[0], b[1], b[2], b[3], b[4], b[5], b[6], b[7]) b.fill(-10) println("") } diff --git a/library/endian/build.gradle.kts b/library/endian/build.gradle.kts index eb18824..edeba6d 100644 --- a/library/endian/build.gradle.kts +++ b/library/endian/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/library/endian/gradle.properties b/library/endian/gradle.properties index 74c571d..b1dd0bd 100644 --- a/library/endian/gradle.properties +++ b/library/endian/gradle.properties @@ -1,4 +1,4 @@ -# Copyright (c) 2025 Matthew Nelson +# Copyright (c) 2025 KotlinCrypto # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/library/endian/src/commonMain/kotlin/org/kotlincrypto/bitops/endian/Endian.kt b/library/endian/src/commonMain/kotlin/org/kotlincrypto/bitops/endian/Endian.kt index 8279d68..98701d5 100644 --- a/library/endian/src/commonMain/kotlin/org/kotlincrypto/bitops/endian/Endian.kt +++ b/library/endian/src/commonMain/kotlin/org/kotlincrypto/bitops/endian/Endian.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/library/endian/src/commonMain/kotlin/org/kotlincrypto/bitops/endian/internal/-EndianUtils.kt b/library/endian/src/commonMain/kotlin/org/kotlincrypto/bitops/endian/internal/-EndianUtils.kt index d470f8a..c41630d 100644 --- a/library/endian/src/commonMain/kotlin/org/kotlincrypto/bitops/endian/internal/-EndianUtils.kt +++ b/library/endian/src/commonMain/kotlin/org/kotlincrypto/bitops/endian/internal/-EndianUtils.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/BigEndianUnitTest.kt b/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/BigEndianUnitTest.kt index de4e604..544a844 100644 --- a/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/BigEndianUnitTest.kt +++ b/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/BigEndianUnitTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/EndianBaseTest.kt b/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/EndianBaseTest.kt index f8273ff..7e4cf2b 100644 --- a/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/EndianBaseTest.kt +++ b/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/EndianBaseTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/LittleEndianUnitTest.kt b/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/LittleEndianUnitTest.kt index e780578..0c5f530 100644 --- a/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/LittleEndianUnitTest.kt +++ b/library/endian/src/commonTest/kotlin/org/kotlincrypto/bitops/endian/LittleEndianUnitTest.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/settings.gradle.kts b/settings.gradle.kts index 6bff71f..897fd53 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tools/check-publication/build.gradle.kts b/tools/check-publication/build.gradle.kts index 1502ddb..4973303 100644 --- a/tools/check-publication/build.gradle.kts +++ b/tools/check-publication/build.gradle.kts @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tools/check-publication/src/commonMain/kotlin/tools/check/publication/Stub.kt b/tools/check-publication/src/commonMain/kotlin/tools/check/publication/Stub.kt index 1977255..43ddeda 100644 --- a/tools/check-publication/src/commonMain/kotlin/tools/check/publication/Stub.kt +++ b/tools/check-publication/src/commonMain/kotlin/tools/check/publication/Stub.kt @@ -1,5 +1,5 @@ /* - * Copyright (c) 2025 Matthew Nelson + * Copyright (c) 2025 KotlinCrypto * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.