{"id":14973922,"url":"https://github.com/lloydmeta/pseudo_encrypt-rs","last_synced_at":"2025-10-27T05:30:54.737Z","repository":{"id":55587105,"uuid":"308202614","full_name":"lloydmeta/pseudo_encrypt-rs","owner":"lloydmeta","description":"A native Rust generic implementation of the pseudo_encrypt function from Psql","archived":false,"fork":false,"pushed_at":"2020-12-20T12:52:42.000Z","size":9,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-01T02:04:31.242Z","etag":null,"topics":["postgresql","pseudo-encrypt","pseudoencrypt","psql","rust"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lloydmeta.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-29T03:03:12.000Z","updated_at":"2023-09-18T12:46:17.000Z","dependencies_parsed_at":"2022-08-15T03:40:55.504Z","dependency_job_id":null,"html_url":"https://github.com/lloydmeta/pseudo_encrypt-rs","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloydmeta%2Fpseudo_encrypt-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloydmeta%2Fpseudo_encrypt-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloydmeta%2Fpseudo_encrypt-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lloydmeta%2Fpseudo_encrypt-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lloydmeta","download_url":"https://codeload.github.com/lloydmeta/pseudo_encrypt-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238437594,"owners_count":19472441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["postgresql","pseudo-encrypt","pseudoencrypt","psql","rust"],"created_at":"2024-09-24T13:49:41.177Z","updated_at":"2025-10-27T05:30:49.364Z","avatar_url":"https://github.com/lloydmeta.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## pseudo_encrypt-rs \n[![pseudo_encrypt-rs-CI](https://github.com/lloydmeta/pseudo_encrypt-rs/workflows/Continuous%20integration/badge.svg?branch=main)](https://github.com/lloydmeta/pseudo_encrypt-rs/actions?query=branch%3Amain)\n[![pseudo_encrypt](https://docs.rs/pseudo_encrypt/badge.svg)](https://docs.rs/pseudo_encrypt)\n[![Crates.io](https://img.shields.io/crates/v/pseudo_encrypt.svg)](https://crates.io/crates/pseudo_encrypt)\n\nThis is a native Rust generic implementation of the `pseudo_encrypt` function [from Psql](https://wiki.postgresql.org/wiki/Pseudo_encrypt)\n\n\u003e pseudo_encrypt(int) can be used as a pseudo-random generator of unique values. It produces an integer output that is \n\u003e uniquely associated to its integer input (by a mathematical permutation), but looks random at the same time, with\n\u003e zero collision. This is useful to communicate numbers generated sequentially without revealing their ordinal position \n\u003e in the sequence (for ticket numbers, URLs shorteners, promo codes...\n\nThere is out of the box support for integer primitives that are 32bit and up:\n\n- i32\n- u32\n- i64\n- u64\n- i128\n- u128\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flloydmeta%2Fpseudo_encrypt-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flloydmeta%2Fpseudo_encrypt-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flloydmeta%2Fpseudo_encrypt-rs/lists"}