Skip to content

Instantly share code, notes, and snippets.

View 10maurycy10's full-sized avatar
🏠
Working from home

10maurycy10

🏠
Working from home
View GitHub Profile
@10maurycy10
10maurycy10 / code.rs
Created January 23, 2021 00:12
a terrible encription.
struct Gen {
key: i32
}
impl Iterator for Gen {
type Item = u8;
fn next(&mut self) -> Option<Self::Item> {
self.key += 1;
Some((
((self.key+3*3)^17)%256
) as u8)