All Projects → atonasting → Marysue Encoder

atonasting / Marysue Encoder

把任意文字和玛丽苏体的姓名进行加密转换

Projects that are alternatives of or similar to Marysue Encoder

Nsec
A modern and easy-to-use cryptographic library for .NET Core based on libsodium
Stars: ✭ 217 (-0.91%)
Mutual labels:  dotnet-core, encryption
Entityframeworkcore.dataencryption
A plugin for Microsoft.EntityFrameworkCore to add support of encrypted fields using built-in or custom encryption providers.
Stars: ✭ 88 (-59.82%)
Mutual labels:  dotnet-core, encryption
Encrypt
🔒 A set of high-level APIs over PointyCastle for two-way cryptography.
Stars: ✭ 199 (-9.13%)
Mutual labels:  encryption
Hagar
Fast, flexible, and version-tolerant serializer for .NET
Stars: ✭ 216 (-1.37%)
Mutual labels:  dotnet-core
Dntframeworkcore
Lightweight and Extensible Infrastructure for Building Web Applications - Web Application Framework
Stars: ✭ 208 (-5.02%)
Mutual labels:  dotnet-core
Westwind.utilities
A general purpose utility and helper library for .NET development
Stars: ✭ 202 (-7.76%)
Mutual labels:  dotnet-core
Pixieditor
PixiEditor is a lightweight pixel art editor made with .NET 5
Stars: ✭ 210 (-4.11%)
Mutual labels:  dotnet-core
Covenant
Covenant is a collaborative .NET C2 framework for red teamers.
Stars: ✭ 2,747 (+1154.34%)
Mutual labels:  dotnet-core
7zip4powershell
Powershell module for creating and extracting 7-Zip archives
Stars: ✭ 213 (-2.74%)
Mutual labels:  encryption
Easy.messagehub
No need for .NET Events! A thread-safe, high performance & easy to use cross platform implementation of the Event Aggregator Pattern.
Stars: ✭ 208 (-5.02%)
Mutual labels:  dotnet-core
Libgit2sharp
Git + .NET/Mono = ❤
Stars: ✭ 2,469 (+1027.4%)
Mutual labels:  dotnet-core
Pgsodium
Modern cryptography for PostgreSQL using libsodium.
Stars: ✭ 202 (-7.76%)
Mutual labels:  encryption
Git Secret
👥 A bash-tool to store your private data inside a git repository.
Stars: ✭ 2,706 (+1135.62%)
Mutual labels:  encryption
Blazorrepl
Write, compile, execute and share Blazor components entirely in the browser
Stars: ✭ 196 (-10.5%)
Mutual labels:  dotnet-core
Entityframework Extensions
Entity Framework Bulk Operations | Improve Entity Framework performance with Bulk SaveChanges, Insert, update, delete and merge for SQL Server, SQL Azure, SQL Compact, MySQL and SQLite.
Stars: ✭ 215 (-1.83%)
Mutual labels:  dotnet-core
Yadm
Yet Another Dotfiles Manager
Stars: ✭ 2,982 (+1261.64%)
Mutual labels:  encryption
Gmssl
支持国密SM2/SM3/SM4/SM9/ZUC/SSL的OpenSSL分支
Stars: ✭ 2,747 (+1154.34%)
Mutual labels:  encryption
Spring Cloud Vault
Configuration Integration with HashiCorp Vault
Stars: ✭ 210 (-4.11%)
Mutual labels:  encryption
Rsautil
.NET Core RSA algorithm using the help tool.It supports data encryption, decryption, signature and verification signature.It supports three key formats, namely: xml, pkcs1, pkcs8.It also supports key conversion for these three formats.Last also support pem formatting.
Stars: ✭ 218 (-0.46%)
Mutual labels:  dotnet-core
Sharpyaml
SharpYaml is a .NET library for YAML compatible with CoreCLR
Stars: ✭ 217 (-0.91%)
Mutual labels:  dotnet-core

MarySue Encoder

把任意文字和玛丽苏体的姓名进行加密转换。

例:

原文:

苟利国家生死以 岂因祸福避趋之 ————林则徐

转换后:

心绯花利蓝妙燢莉·璃之蓝夏阳雅璃·紫曦·米雪银苏吉铃璃·曼燢颜·凡魑陌蒂安·奥语怡馨落糜灵莉·艳姆优凌黛爱·迷晗澪晶安·莎馨·渺·琉伤妮雪璃·雅璃·澪邪璃·情冰·洁瑟芝璃·萝裳雨恩俏黛伤雪·岚烟御文陌安离洁·然·多亚恩陌凡·羽瑷萨璃·凝斯怡璃·陌冰舞茜璃·樱海璃·多曼优安·悠

注:每次生成的密文是随机的,但都能解出相同的原文。

Demo

https://funnyjs.com/marysue/

Run

Written in C#, running on dotnet core platform.

  1. Visit https://www.microsoft.com/net/core to install .net core runtime
  2. git clone code
  3. cd marysue-encoder
  4. dotnet restore
  5. dotnet run
  6. Visit http://localhost:5001

Develop

基本算法

  1. 首先准备一串字符作为文本素材,并指定某个字符作为分隔符;
  2. 使用随机Key将原文进行AES加密,将密钥附在密文前;
  3. 将加密后的文本随机切分成长度1~8的byte数组,将数组转换成ulong数字;
  4. 设文本素材数量为n,则将ulong数字转换成n进制数,以文本素材作为此数的具体数字;
  5. 使用分隔符将切分后的字符串连接起来,即得密文;
  6. 解密时反向计算即可。

给开发者的参考:

  • 修改appsettings.json中的素材与分隔符,可以制作自己版本的密钥生成器;
  • 可以附加前后缀文本作为格式与加密版本判断。

Improvment

  • 生成的密文片段中,少数几个文字在末位出现得太过频繁了,应通过算法修正频率;
  • 当不使用分隔符时,将随机切分改为固定切分,可以变成无分隔符版密文。
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].