mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-29 13:07:01 +00:00
Add SPDX and references to all source files
This commit is contained in:
parent
e4e96d566d
commit
ec2681b43e
|
@ -1,6 +1,6 @@
|
|||
// EnvForm.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// GlobalSettingsForm.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using Microsoft.Win32;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// IResourceTool.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System.Net;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// InstancesForm.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// MainForm.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Program.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// ResourceServer.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Completion.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using Microsoft.Win32;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// DevTools.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// DnsQuery.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Settings.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Tfa.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Whois.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX - FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System.Net;
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
<meta name="robots" content="noindex, nofollow">
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||||
<meta name="language" content="English">
|
||||
<meta name="author" content="Namhyeon Go (abuse@catswords.net)">
|
||||
<meta name="author" content="2025 Catswords OSS and WelsonJS Contributors (GPL-3.0-or-later)">
|
||||
<style>
|
||||
html, body, #app, #app > .app {
|
||||
margin: 0;
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
// HeartbeatClient.cs
|
||||
// Namhyeon Go <abuse@catswords.net>
|
||||
// SPDX-License-Identifier: MS-RL
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using Grpc.Core;
|
||||
using System.Threading.Tasks;
|
||||
using System;
|
||||
|
|
|
@ -1,24 +1,8 @@
|
|||
/*
|
||||
* WelsonJS.Toolkit: WelsonJS native component
|
||||
*
|
||||
* filename:
|
||||
* LZ77.cs
|
||||
*
|
||||
* description:
|
||||
* MsCompress(LZ77) algorithm implementation for WelsonJS
|
||||
*
|
||||
* website:
|
||||
* - https://github.com/gnh1201/welsonjs
|
||||
* - https://catswords.social/@catswords_oss
|
||||
* - https://teams.live.com/l/community/FEACHncAhq8ldnojAI
|
||||
*
|
||||
* author:
|
||||
* Namhyeon Go <abuse@catswords.net>
|
||||
*
|
||||
* license:
|
||||
* GPLv3 or MS-RL(Microsoft Reciprocal License)
|
||||
*
|
||||
*/
|
||||
// LZ77.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System.Text;
|
||||
|
||||
namespace WelsonJS.Compression
|
||||
|
|
|
@ -1,40 +1,10 @@
|
|||
/*
|
||||
* WelsonJS.Toolkit: WelsonJS native component
|
||||
*
|
||||
* filename:
|
||||
* ARIA.cs
|
||||
*
|
||||
* description:
|
||||
* ARIA(KS X 1213-1, RFC5794, RFC6209) cryptography algorithm implementation (Experimental)
|
||||
*
|
||||
* website:
|
||||
* - https://github.com/gnh1201/welsonjs
|
||||
* - https://catswords.social/@catswords_oss
|
||||
* - https://teams.live.com/l/community/FEACHncAhq8ldnojAI
|
||||
* - https://discord.gg/XKG5CjtXEj
|
||||
*
|
||||
* authors:
|
||||
* - Namhyeon Go (@gnh1201) <abuse@catswords.net>
|
||||
* - @angelkum (blog.naver.com)
|
||||
* - KISA(Korea Internet & Security Agency) (kisa.or.kr)
|
||||
* - National Security Research Institute (NSRI)
|
||||
* - National Intelligence Service (nis.go.kr)
|
||||
*
|
||||
* references:
|
||||
* - https://seed.kisa.or.kr/kisa/Board/19/detailView.do
|
||||
* - https://blog.naver.com/angelkum/130154153446
|
||||
* - https://www.ncsc.go.kr:4018/PageLink.do?link=forward:/PageContent.do&tempParam1=&menuNo=060000&subMenuNo=060200&thirdMenuNo=
|
||||
* - https://www.nis.go.kr/AF/1_7_3_1.do
|
||||
* - https://datatracker.ietf.org/doc/html/rfc5794
|
||||
* - https://datatracker.ietf.org/doc/html/rfc6209
|
||||
* - https://github.com/eGovFrame/egovframework.rte.root/blob/master/Foundation/egovframework.rte.fdl.crypto/src/main/java/egovframework/rte/fdl/cryptography/impl/aria/ARIAEngine.java
|
||||
* - https://ics.catswords.net/ARIA-specification.pdf
|
||||
* - https://ics.catswords.net/ARIA-testvector.pdf
|
||||
*
|
||||
* license:
|
||||
* GPLv3 or MS-RL(Microsoft Reciprocal License)
|
||||
*
|
||||
*/
|
||||
// ARIA.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
// ARIA(KS X 1213-1, RFC5794, RFC6209) cryptography algorithm implementation (Experimental)
|
||||
//
|
||||
using System.Security.Cryptography;
|
||||
using System.Text;
|
||||
|
||||
|
@ -612,3 +582,24 @@ namespace WelsonJS.Cryptography
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* References:
|
||||
* [1] KISA(Korea Internet & Security Agency) - 블록암호 ARIA
|
||||
* https://seed.kisa.or.kr/kisa/Board/19/detailView.do
|
||||
* [2] Naver Blog - ARIA 암호 JAVA, .NET(C#) 라이브러리 (@angelkum)
|
||||
* https://blog.naver.com/angelkum/130154153446
|
||||
* [3] NSRI(National Security Research Institute) - 검증대상 암호알고리즘
|
||||
* https://www.ncsc.go.kr:4018/PageLink.do?link=forward:/PageContent.do&tempParam1=&menuNo=060000&subMenuNo=060200&thirdMenuNo=
|
||||
* [4] NIS(National Intelligence Service) - 암호모듈 검증
|
||||
* https://www.nis.go.kr/AF/1_7_3_1.do
|
||||
* [5] IETF - RFC 5794 - A Description of the ARIA Encryption Algorithm
|
||||
* https://datatracker.ietf.org/doc/html/rfc5794
|
||||
* [6] IETF - RFC 6209 - Addition of the ARIA Cipher Suites to Transport Layer Security (TLS)
|
||||
* https://datatracker.ietf.org/doc/html/rfc6209
|
||||
* [7] GitHub - 표준프레임워크의 실행환경 (eGovFrame/egovframework.rte.root)
|
||||
* https://github.com/eGovFrame/egovframework.rte.root/blob/master/Foundation/egovframework.rte.fdl.crypto/src/main/java/egovframework/rte/fdl/cryptography/impl/aria/ARIAEngine.java
|
||||
* [8] NSRI(National Security Research Institute) - 민관겸용 블록 암호 알고리즘 ARIA 알고리즘 명세서 (Version 1.0, 2024. 5.)
|
||||
* https://ics.catswords.net/ARIA-specification.pdf
|
||||
* [9] NSRI(National Security Research Institute) - ARIA 테스트 벡터 (Version 1.0)
|
||||
* https://ics.catswords.net/ARIA-testvector.pdf
|
||||
*/
|
||||
|
|
|
@ -1,30 +1,8 @@
|
|||
/*
|
||||
* WelsonJS.Toolkit: WelsonJS native component
|
||||
*
|
||||
* filename:
|
||||
* AnsiX923Padding.cs
|
||||
*
|
||||
* description:
|
||||
* AnsiX923Padding implementation
|
||||
*
|
||||
* website:
|
||||
* - https://github.com/gnh1201/welsonjs
|
||||
* - https://catswords.social/@catswords_oss
|
||||
* - https://teams.live.com/l/community/FEACHncAhq8ldnojAI
|
||||
* - https://discord.gg/XKG5CjtXEj
|
||||
*
|
||||
* authors:
|
||||
* - Namhyeon Go (@gnh1201) <abuse@catswords.net>
|
||||
*
|
||||
* references:
|
||||
* - https://github.com/eGovFrame/egovframework.rte.root/blob/master/Foundation/egovframework.rte.fdl.crypto/src/main/java/egovframework/rte/fdl/cryptography/impl/aria/AnsiX923Padding.java
|
||||
* - ChatGPT prompt "AnsiX923Padding with C#" (chatgpt.com)
|
||||
* - ChatGPT prompt "AnsiX923Padding with C#, Add a flag to decide how to handle possible errors when removing padding." (chatgpt.com)
|
||||
*
|
||||
* license:
|
||||
* GPLv3 or MS-RL(Microsoft Reciprocal License)
|
||||
*
|
||||
*/
|
||||
// AnsiX923Padding.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System;
|
||||
|
||||
namespace WelsonJS.Cryptography
|
||||
|
@ -130,3 +108,10 @@ namespace WelsonJS.Cryptography
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* References:
|
||||
* [1] GitHub - 표준프레임워크의 실행환경 (eGovFrame/egovframework.rte.root)
|
||||
* https://github.com/eGovFrame/egovframework.rte.root/blob/master/Foundation/egovframework.rte.fdl.crypto/src/main/java/egovframework/rte/fdl/cryptography/impl/aria/AnsiX923Padding.java
|
||||
* [2] ChatGPT - The prompt "AnsiX923Padding with C#"
|
||||
* [3] ChatGPT - The prompt "AnsiX923Padding with C#, Add a flag to decide how to handle possible errors when removing padding."
|
||||
*/
|
||||
|
|
|
@ -1,37 +1,10 @@
|
|||
/*
|
||||
* WelsonJS.Toolkit: WelsonJS native component
|
||||
*
|
||||
* filename:
|
||||
* HIGHT.cs
|
||||
*
|
||||
* description:
|
||||
* HIGHT(ISO/IEC 18033-3) cryptography algorithm implementation
|
||||
*
|
||||
* website:
|
||||
* - https://github.com/gnh1201/welsonjs
|
||||
* - https://catswords.social/@catswords_oss
|
||||
* - https://teams.live.com/l/community/FEACHncAhq8ldnojAI
|
||||
* - https://discord.gg/XKG5CjtXEj
|
||||
*
|
||||
* authors:
|
||||
* - Namhyeon Go (@gnh1201) <abuse@catswords.net>
|
||||
* - @chandong83 (github.com)
|
||||
* - KISA(Korea Internet & Security Agency) (kisa.or.kr)
|
||||
* - Korea Unversity (www.korea.ac.kr)
|
||||
*
|
||||
* references:
|
||||
* - https://seed.kisa.or.kr/kisa/algorithm/EgovHightInfo.do
|
||||
* - https://github.com/chandong83/csharp_crypto_hight_ecb_examples
|
||||
* - https://blog.naver.com/chandong83/222198351602
|
||||
* - https://www.iso.org/standard/54531.html
|
||||
* - https://ics.catswords.net/HIGHT-algorithm-specification-english.pdf
|
||||
* - https://ics.catswords.net/HIGHT-algorithm-specification-korean.pdf
|
||||
* - https://ics.catswords.net/HIGHT-sourcecode-explanation.pdf
|
||||
*
|
||||
* license:
|
||||
* GPLv3 or MS-RL(Microsoft Reciprocal License)
|
||||
*
|
||||
*/
|
||||
// HIGHT.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
// HIGHT(ISO/IEC 18033-3) cryptography algorithm implementation
|
||||
//
|
||||
using System;
|
||||
|
||||
namespace WelsonJS.Cryptography
|
||||
|
@ -387,3 +360,20 @@ namespace WelsonJS.Cryptography
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* References:
|
||||
* [1] KISA(Korea Internet & Security Agency) - HIGHT
|
||||
* https://seed.kisa.or.kr/kisa/algorithm/EgovHightInfo.do
|
||||
* [2] GitHub - crypto hight ecb examples for csharp (chandong83/csharp_crypto_hight_ecb_examples)
|
||||
* https://github.com/chandong83/csharp_crypto_hight_ecb_examples
|
||||
* [3] Naver Blog - C#(CSharp) - HIGHT ECB 암/복호화 알고리즘 소스 코드 (@chandong83)
|
||||
* https://blog.naver.com/chandong83/222198351602
|
||||
* [4] ISO - ISO/IEC 18033-3:2010 Information technology — Security techniques — Encryption algorithms - Part 3: Block ciphers
|
||||
* https://www.iso.org/standard/54531.html
|
||||
* [5] KISA(Korea Internet & Security Agency) - HIGHT Algorithm Specification(2009. 07.)
|
||||
* https://ics.catswords.net/HIGHT-algorithm-specification-english.pdf
|
||||
* [6] HIGHT 블록암호 알고리즘 사양 및 세부 명세서(2009. 07.)
|
||||
* https://ics.catswords.net/HIGHT-algorithm-specification-korean.pdf
|
||||
* [7] HIGHT 블록암호 알고리즘에 대한 소스코드 활용 메뉴얼(2009. 07.)
|
||||
* https://ics.catswords.net/HIGHT-sourcecode-explanation.pdf
|
||||
*/
|
||||
|
|
|
@ -1,29 +1,8 @@
|
|||
/*
|
||||
* WelsonJS.Toolkit: WelsonJS native component
|
||||
*
|
||||
* filename:
|
||||
* PKCS5Padding.cs
|
||||
*
|
||||
* description:
|
||||
* PKCS5Padding implementation
|
||||
*
|
||||
* website:
|
||||
* - https://github.com/gnh1201/welsonjs
|
||||
* - https://catswords.social/@catswords_oss
|
||||
* - https://teams.live.com/l/community/FEACHncAhq8ldnojAI
|
||||
* - https://discord.gg/XKG5CjtXEj
|
||||
*
|
||||
* authors:
|
||||
* - Namhyeon Go (@gnh1201) <abuse@catswords.net>
|
||||
*
|
||||
* references:
|
||||
* - ChatGPT prompt "PKCS5Padding with C#" (chatgpt.com)
|
||||
* - ChatGPT prompt "PKCS5Padding with C#, Add a flag to decide how to handle possible errors when removing padding." (chatgpt.com)
|
||||
*
|
||||
* license:
|
||||
* GPLv3 or MS-RL(Microsoft Reciprocal License)
|
||||
*
|
||||
*/
|
||||
// PKCS5Padding.cs
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
//
|
||||
using System;
|
||||
|
||||
namespace WelsonJS.Cryptography
|
||||
|
@ -116,3 +95,8 @@ namespace WelsonJS.Cryptography
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* References:
|
||||
* [1] ChatGPT - The prompt "PKCS5Padding with C#"
|
||||
* [2] ChatGPT - The prompt "PKCS5Padding with C#, Add a flag to decide how to handle possible errors when removing padding."
|
||||
*/
|
||||
|
|
11
app.js
11
app.js
|
@ -1,14 +1,11 @@
|
|||
// app.js
|
||||
// SPDX-License-Identifier: GPL-3.0-or-later
|
||||
// SPDX-FileCopyrightText: 2025 Catswords OSS and WelsonJS Contributors
|
||||
// https://github.com/gnh1201/welsonjs
|
||||
|
||||
// Bootstrap code for running a javascript app in windows. Run as:
|
||||
// cscript.js app.js <appname> <app arguments> ...
|
||||
//
|
||||
// Author: Namhyeon Go <abuse@catswords.net>
|
||||
// Repository: https://github.com/gnh1201/welsonjs
|
||||
// License: GPLv3 or MS-RL (Opensource)
|
||||
// Report abuse: abuse@catswords.net
|
||||
// Latest news: ActivityPub @catswords_oss@catswords.social
|
||||
// Join our team: https://teams.live.com/l/community/FEACHncAhq8ldnojAI
|
||||
//
|
||||
"use strict";
|
||||
|
||||
var exit = function(status) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user