Skip to content

Instantly share code, notes, and snippets.

View kakarot-dev's full-sized avatar
:electron:
Working on nothin

Axel kakarot-dev

:electron:
Working on nothin
  • India
  • 19:27 (UTC +05:30)
View GitHub Profile
@JSH32
JSH32 / rust-semantic-colors.json
Created February 12, 2022 03:14
Rust semantic coloring
{
"[rust]": {
"editor.wordBasedSuggestions": false,
},
"editor.semanticTokenColorCustomizations": {
"[Default Dark+]": {
"enabled": true,
"rules": {
"method.static:rust": {
"foreground": "#f0c506"
@vulcandragi
vulcandragi / hash.rs
Created December 15, 2021 16:43
Hash Password and Salt in Rust
use std::fmt::Display;
use chrono::Utc;
use sha3::Sha3_512;
use uuid::Uuid;
use crate::errors::HashError;
struct HashedElement(Box<[u8]>);