Yoko.Tool 1.4.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Yoko.Tool --version 1.4.0
NuGet\Install-Package Yoko.Tool -Version 1.4.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Yoko.Tool" Version="1.4.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Yoko.Tool --version 1.4.0
#r "nuget: Yoko.Tool, 1.4.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Yoko.Tool as a Cake Addin
#addin nuget:?package=Yoko.Tool&version=1.4.0

// Install Yoko.Tool as a Cake Tool
#tool nuget:?package=Yoko.Tool&version=1.4.0

一般常用工具箱

💎 主要功能

❄ 雪花Id优化版

❄ 值类型转换

❄ 哈希加密与验证

❄ ·········(还没想好)

💎 使用方法

❄ 包管理器 Install-Package Yoko.Tool -Version 1.4.0

❄ Net命令行 dotnet add package Yoko.Tool --version 1.4.0

💎 雪花ID

💎 值类型转换

💧 string、decimal、double 转 int "目标".ToInt32()

💧 string 转 bool ToBool

💧 string 转 long ToLong

💧 string、decimal、int 转 double ToDouble

💧 string 、double、int 转 decimal ToDecimal

💧 字符串 转 时间 ToDateTime

💧 分割逗号的字符串为List[]、string[] SplitCsv

💧 分割逗号的字符串为int[] SplitCsvToInt

💧 string数组转int数组 ToIntList

💧 过滤字符串中的/n,/t,/r ToJsonString

💧 替换字符串中的"为',一般用于写入数据库的json ToDataBaseString

💧 去除图片地址中的不正常字符\n、\ ToImgString

💧 DateTime转换成开始时间00:00:00 ToStartTime

💧 DateTime转换成结束时间23:59:59 ToEndTime

💧 DateTime时间转Unix时间戳(默认精确到毫秒13位) ToUnixTime

💧 DateTime时间转Unix时间戳(默认精确到秒10位) ToUnixTimeS

💧 Unix时间戳转DateTime本地时间(yyyy/MM/dd hh:MM:ss) ToLocalTime


💎 哈希加密与验证

  • 生成密码由5部分组成 💧 标识头:cadre 💧 迭代:64000 💧 哈希大小:18 💧 salt值 💧 哈希值
  • 值常表现为 cadre:64000:18:salt值:哈希值

🔍 生成加密密码 Create(password,IsText);

🔍 验证密码 PassWordIsTrue(password,goodHash,IsText);

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.1

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.0-beta.1 55 4/22/2024
2.6.0-rc.3 86 12/14/2023
2.6.0-rc.2 78 12/14/2023
2.6.0-rc.1 79 12/14/2023
2.5.4 163 5/22/2023
2.5.3 246 2/24/2023
2.5.2 412 9/7/2022
2.5.1 373 9/7/2022
2.5.0 372 9/5/2022
2.4.4 386 8/5/2022
2.4.3 389 8/2/2022
2.4.2 399 7/27/2022
2.4.1 388 7/25/2022
2.4.0 428 7/11/2022
2.2.0 415 6/20/2022
2.1.1 400 6/14/2022
2.1.0 411 5/7/2022
2.0.0 409 4/29/2022
1.6.3 416 6/14/2022
1.6.2.8 423 4/29/2022
1.6.2.7 441 4/21/2022
1.6.2.6 423 3/17/2022
1.6.2.4 292 12/17/2021
1.6.2.3 290 12/13/2021
1.6.2.2 270 12/2/2021
1.6.2.1 335 11/15/2021
1.6.2 315 11/2/2021
1.6.1.1 365 10/25/2021
1.6.1 316 10/22/2021
1.6.0.1 336 9/24/2021
1.6.0 315 9/17/2021
1.5.8.1 321 9/15/2021
1.5.7 529 9/10/2021
1.5.6 367 9/10/2021
1.5.5 345 9/9/2021
1.5.4 340 9/5/2021
1.5.3 319 9/3/2021
1.5.2 306 9/3/2021
1.5.1 321 9/3/2021
1.5.0 312 9/2/2021
1.4.3 321 9/2/2021
1.4.2 318 9/2/2021
1.4.1 309 9/2/2021
1.4.0 331 8/24/2021
1.3.0 321 8/24/2021