Skip to content

Instantly share code, notes, and snippets.

u64 processChunk(std::vector<u8>& inputBuffer, bool finalize)
{
if (inputBuffer.size() == 0) return 1;
u64 bufferSize = inputBuffer.size();
m_deflateBuffer.resize(bufferSize);
m_deflateBuffer.resize(0);
u64 i = 0;
while (i < bufferSize)
{
{"version":1,"resource":"file:///c%3A/xampp/htdocs/srpWebService/app/Models/DB/AppMember.php","entries":[{"id":"2OM8.php","source":"Workspace Edit","timestamp":1657271084007},{"id":"8bnH.php","source":"Workspace Edit","timestamp":1657271121725}]}
@nicoboss
nicoboss / History\-10920dea\entries.json
Last active September 7, 2022 16:20
Visual Studio Code Settings Sync Gist
{"version":1,"resource":"file:///c%3A/xampp/htdocs/srpWebService/app/Models/DB/AppMember.php","entries":[{"id":"2OM8.php","source":"Workspace Edit","timestamp":1657271084007},{"id":"8bnH.php","source":"Workspace Edit","timestamp":1657271121725}]}
@nicoboss
nicoboss / Nintendo_Switch_full_keyset_1.0.0-4.1.0_sha256
Last active February 9, 2023 14:54
Nintendo Switch full keyset from firmware 1.0.0-4.1.0 binary hashed using sha256 by using digestpp::sha256().absorb(hex2ascii("")).hexdigest()
Leaked Keys:
============
sha256(master_key_00) = 0EE359BE3C864BB0782E1D70A718A0342C551EED28C369754F9C4F691BECF7CA
sha256(master_key_01) = 4FE707B7E4ABDAF727C894AAF13B1351BFE2AC90D875F73B2E20FA94B9CC661E
sha256(master_key_02) = 79277C0237A2252EC3DFAC1F7C359C2B3D121E9DB15BB9AB4C2B4408D2F3AE09
sha256(master_key_03) = 4F36C565D13325F65EE134073C6A578FFCB0008E02D69400836844EAB7432754
sha256(package1_key_00) = 4543CD1B7CAD7EE0466A3DE2086A0EF923805DCEA6C741541CDDB14F54F97B40
sha256(package1_key_01) = 4A11DA019D26470C9B805F1721364830DC0096DD66EAC453B0D14455E5AF5CF8
sha256(package1_key_02) = CCA867360B3318246FBF0B8A86473176ED486DFE229772B941A02E84D50A3155