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 71 4/22/2024
2.6.0-rc.3 101 12/14/2023 2.6.0-rc.3 is deprecated because it is no longer maintained.
2.6.0-rc.2 90 12/14/2023 2.6.0-rc.2 is deprecated because it is no longer maintained.
2.6.0-rc.1 98 12/14/2023 2.6.0-rc.1 is deprecated because it is no longer maintained.
2.5.4 182 5/22/2023
2.5.3 273 2/24/2023
2.5.2 437 9/7/2022
2.5.1 384 9/7/2022
2.5.0 399 9/5/2022
2.4.4 413 8/5/2022
2.4.3 419 8/2/2022
2.4.2 411 7/27/2022
2.4.1 401 7/25/2022
2.4.0 442 7/11/2022
2.2.0 440 6/20/2022
2.1.1 413 6/14/2022
2.1.0 440 5/7/2022
2.0.0 421 4/29/2022
1.6.3 443 6/14/2022
1.6.2.8 452 4/29/2022
1.6.2.7 472 4/21/2022
1.6.2.6 438 3/17/2022
1.6.2.4 322 12/17/2021
1.6.2.3 315 12/13/2021
1.6.2.2 295 12/2/2021
1.6.2.1 362 11/15/2021
1.6.2 346 11/2/2021
1.6.1.1 376 10/25/2021
1.6.1 343 10/22/2021
1.6.0.1 362 9/24/2021
1.6.0 344 9/17/2021
1.5.8.1 348 9/15/2021
1.5.7 540 9/10/2021
1.5.6 393 9/10/2021
1.5.5 370 9/9/2021
1.5.4 366 9/5/2021
1.5.3 345 9/3/2021
1.5.2 335 9/3/2021
1.5.1 347 9/3/2021
1.5.0 337 9/2/2021
1.4.3 353 9/2/2021
1.4.2 328 9/2/2021
1.4.1 320 9/2/2021
1.4.0 357 8/24/2021
1.3.0 349 8/24/2021