From 5c1ffff822f9145df586b95d6790e5042672cbe3 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Sat, 26 Jul 2025 23:19:48 +0900 Subject: [PATCH] Add license headers to cryptography classes Added SPDX license and copyright headers to AriaCore and HightAlgorithm classes for compliance and documentation. Minor formatting adjustments in AriaAlgorithm and AriaEcbTransform to improve consistency. --- WelsonJS.Toolkit/WelsonJS.Cryptography/AriaAlgorithm.vb | 1 - WelsonJS.Toolkit/WelsonJS.Cryptography/AriaCore.vb | 7 ++++++- WelsonJS.Toolkit/WelsonJS.Cryptography/AriaEcbTransform.vb | 2 +- WelsonJS.Toolkit/WelsonJS.Cryptography/HightAlgorithm.vb | 7 ++++++- 4 files changed, 13 insertions(+), 4 deletions(-) diff --git a/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaAlgorithm.vb b/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaAlgorithm.vb index 48c5fd4..003c07a 100644 --- a/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaAlgorithm.vb +++ b/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaAlgorithm.vb @@ -3,7 +3,6 @@ ' SPDX-FileCopyrightText: 2025 Namhyeon Go , Catswords OSS And WelsonJS Contributors ' https://github.com/gnh1201/welsonjs ' - Imports System.Security.Cryptography Public Class AriaAlgorithm diff --git a/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaCore.vb b/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaCore.vb index 787abc3..448104c 100644 --- a/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaCore.vb +++ b/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaCore.vb @@ -1,4 +1,9 @@ -Public Class AriaCore +' AriaCore.cs (WelsonJS.Cryptography) +' SPDX-License-Identifier: MIT +' SPDX-FileCopyrightText: 2025 Namhyeon Go , Catswords OSS And WelsonJS Contributors +' https://github.com/gnh1201/welsonjs + +Public Class AriaCore Private S(3, 255) As Byte Private KRK(2, 15) As Byte Private roundKeyEnc(271) As Byte diff --git a/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaEcbTransform.vb b/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaEcbTransform.vb index 7854e27..bd8af41 100644 --- a/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaEcbTransform.vb +++ b/WelsonJS.Toolkit/WelsonJS.Cryptography/AriaEcbTransform.vb @@ -2,7 +2,7 @@ ' SPDX-License-Identifier: MIT ' SPDX-FileCopyrightText: 2025 Namhyeon Go , Catswords OSS And WelsonJS Contributors ' https://github.com/gnh1201/welsonjs - +' Imports System.Security.Cryptography Public Class AriaEcbTransform diff --git a/WelsonJS.Toolkit/WelsonJS.Cryptography/HightAlgorithm.vb b/WelsonJS.Toolkit/WelsonJS.Cryptography/HightAlgorithm.vb index a664032..73dcefa 100644 --- a/WelsonJS.Toolkit/WelsonJS.Cryptography/HightAlgorithm.vb +++ b/WelsonJS.Toolkit/WelsonJS.Cryptography/HightAlgorithm.vb @@ -1,4 +1,9 @@ -Imports System.Security.Cryptography +' HightAlgorithm.cs (WelsonJS.Cryptography) +' SPDX-License-Identifier: MIT +' SPDX-FileCopyrightText: 2025 Namhyeon Go , Catswords OSS And WelsonJS Contributors +' https://github.com/gnh1201/welsonjs +' +Imports System.Security.Cryptography Public Class HightAlgorithm Inherits SymmetricAlgorithm