Implement NPPS4 integration

This commit is contained in:
Ethan O'Brien
2024-06-04 11:42:40 -05:00
parent a1e400c1ec
commit cb3a62caa5
4 changed files with 61 additions and 20 deletions

View File

@@ -296,6 +296,9 @@ pub fn save_server_data(auth_key: &str, data: JsonValue) {
pub fn save_acc_chats(auth_key: &str, data: JsonValue) {
save_data(auth_key, "chats", data);
}
pub fn save_acc_sif(auth_key: &str, data: JsonValue) {
save_data(auth_key, "sifcards", data);
}
fn generate_salt() -> Vec<u8> {
let mut rng = rand::thread_rng();