3 unstable releases

0.2.1 Dec 28, 2024
0.2.0 Dec 28, 2024
0.1.0 Dec 25, 2024

#40 in #parsing

Download history 320/week @ 2024-12-24 1/week @ 2024-12-31 5/week @ 2025-01-07

326 downloads per month

MIT/Apache

47KB
407 lines

win-sid   Latest Version

A rust library providing types for handling Windows SIDs in a cross platform manner.

Description

This library provides one core type - SecurityIdentifier. This type can represent any valid Windows SID, and also supports serializing to/from the canonical byte representation and string representation.

License

Licensed under either of Apache License, Version 2.0 or MIT license at your option.


lib.rs:

Crate for parsing Windows security identifiers without depending on any Windows-only APIs. This crate is capable of parsing SIDs from their canonical string representation (e.g. S-1-5-21-1004336348-1177238915-682003330-512) as well as their canonical binary representation found within binary SDDLs, LDAP attributes, etc.

Dependencies

~1.2–1.8MB
~37K SLoC