8 packages tagged with “ShortGuid”
A convenience wrapper struct for dealing with URL-safe Base64 encoded globally unique identifiers (GUID), making a shorter string value (22 vs 36 characters long). As of version 2.0.0, `ShortGuid` performs a sanity check when decoding strings to ensure they haven't been tampered with, i.e. allowing the end of a Base64 string to be tweaked where it still produces that same byte array to create the underlying Guid. Effectively there is "unused space" in the Base64 string which is ignored, but will now result in an `FormatException` being thrown. ShortGuid will never produce an invalid string, however if one is supplied, it could result in an unintended collision where multiple URL-safe Base64 strings can point to the same Guid. To avoid this uncertainty, a round-trip check is performed to ensure a 1-1 match with the input string. Stick with version 1.1.0 if you require the old behaviour with opt-in strict parsing.
Creates a url friendly base64 version of a Guid
Guids that render as 26-char alphabetic strings - like ShortGuid, but better
Pineapple is a set of core libraries that includes utilities, primitives, helper classes for .NET! The inspiration for Pineapple comes from Google's Guava framework.
Implementation of Base16, Base64, Base85 codecs
ShortGuid için EF Core ValueConverter ve kolay kurulum uzantıları.
A V4 GUID represented in the form of a short(er), base64-encoded, url-safe, string. With the option to replace version, and variant data for custom flags. By default .net's Guid.NewGuid(), creates a Version "4", and Variant "DCE 1.1, ISO/IEC 11578:1996" UUID. ShortGuid replaces these constant values with custom ones, allowing users to set flags in these locations. A standard Guid has 36 characters: 2249d2d9-e29a-4c7c-9505-256760d13fad. A ShortGuid has 22 characters: 2dJJIprifEyVBSVnYNE_rQ. Guids, and ShortGuids can be converted to one another without any data loss. ShortGuids are url safe.
A lightweight library for optimized GUID handling with shortened string representation and base Entity implementation