Base62 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package Base62 --version 1.1.0
NuGet\Install-Package Base62 -Version 1.1.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="Base62" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Base62 --version 1.1.0
#r "nuget: Base62, 1.1.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 Base62 as a Cake Addin
#addin nuget:?package=Base62&version=1.1.0

// Install Base62 as a Cake Tool
#tool nuget:?package=Base62&version=1.1.0

Base62

Base62 encoder and decoder based on Base62 for PHP for .NET. This library is useful for converting data into shortened strings good for URL shortening and/or obfuscating auto-incrementing resource ids from being exposed through RESTful APIs.

Nuget

Compatibility

Written to be netstandard compliant, this library should be able to be used cross-platform. See netstandard details for more information.

Usage

var base62Converter = new Base62Converter();

var encoded = base62Converter.Encode("120");

Console.WriteLine(encoded);

var decoded = base62Converter.Decode(encoded);

Console.WriteLine(decoded);

// output is:
//    "DWjo"
//    "120"

Character sets

By default Base62 uses [0-9A-Za-z] character set but can be alternated to use [0-9a-zA-Z] through the constructor.

new Base62Converter(Base62Converter.CharacterSet.INVERTED);

...

License

The MIT LIcense (MIT).

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 netcoreapp1.0 was computed.  netcoreapp1.1 was computed.  netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard1.0 is compatible.  netstandard1.1 is compatible.  netstandard1.2 is compatible.  netstandard1.3 is compatible.  netstandard1.4 is compatible.  netstandard1.5 is compatible.  netstandard1.6 is compatible.  netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net20 is compatible.  net35 is compatible.  net40 is compatible.  net403 was computed.  net45 is compatible.  net451 is compatible.  net452 is compatible.  net46 is compatible.  net461 is compatible.  net462 is compatible.  net463 was computed.  net47 is compatible.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen30 was computed.  tizen40 was computed.  tizen60 was computed. 
Universal Windows Platform uap was computed.  uap10.0 was computed. 
Windows Phone wp8 was computed.  wp81 was computed.  wpa81 was computed. 
Windows Store netcore was computed.  netcore45 was computed.  netcore451 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.
  • .NETFramework 2.0

    • No dependencies.
  • .NETFramework 3.5

    • No dependencies.
  • .NETFramework 4.0

    • No dependencies.
  • .NETFramework 4.5

    • No dependencies.
  • .NETFramework 4.5.1

    • No dependencies.
  • .NETFramework 4.5.2

    • No dependencies.
  • .NETFramework 4.6

    • No dependencies.
  • .NETFramework 4.6.1

    • No dependencies.
  • .NETFramework 4.6.2

    • No dependencies.
  • .NETFramework 4.7

    • No dependencies.
  • .NETStandard 1.0

  • .NETStandard 1.1

  • .NETStandard 1.2

  • .NETStandard 1.3

  • .NETStandard 1.4

  • .NETStandard 1.5

  • .NETStandard 1.6

  • .NETStandard 2.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on Base62:

Package Downloads
NineDigit.eKasa The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

eKasa PPEKK solution by Nine Digit, s.r.o.

NineDigit.eKasa.StorageManagement The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

No descrpition.

Molecule

个人项目公共组件集合

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on Base62:

Repository Stars
werasik2aa/Huawei-Unlock-Tool
Unlock bootloader / FRP Huawei
Version Downloads Last updated
1.3.0 39,624 11/2/2022
1.2.0 114,508 8/8/2021
1.1.0 64,726 7/16/2019
1.0.0 105,147 10/9/2017

UTF8 support