Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Implement new Poseidon and FieldHasher — do not delete CRH impl #91

Closed
Tracked by #79
lazovicff opened this issue Dec 21, 2021 · 2 comments · Fixed by #94
Closed
Tracked by #79

[TASK] Implement new Poseidon and FieldHasher — do not delete CRH impl #91

lazovicff opened this issue Dec 21, 2021 · 2 comments · Fixed by #94
Assignees

Comments

@lazovicff
Copy link
Contributor

lazovicff commented Dec 21, 2021

struct Poseidon<F: PrimeField> {
   params: PoseidonParameters<F>,
}

impl Poseidon<F: PrimeField> {
    fn new(params: PoseidonParameters<F>) -> Self;
}

trait FieldHasher<F: PrimeField> {
	fn hash(&self, inputs: &Vec<F>) -> F;
        fn hash_two(&self, left: &F, right: &F) -> F;
}
@Pire91
Copy link

Pire91 commented Dec 21, 2021

Pozdrav Filipe, izvini što ostavljam komentar ovde, ali drugačije trenutno ne mogu da te kontaktiram, ako mozes molim te javi mi se na 064337126, trebas miprivatno, hvala , Darko

@lazovicff lazovicff linked a pull request Dec 22, 2021 that will close this issue
@drewstone drewstone changed the title Implement new Poseidon and FieldHasher — do not delete CRH impl [TASK] Implement new Poseidon and FieldHasher — do not delete CRH impl Dec 22, 2021
@lazovicff
Copy link
Contributor Author

@Pire91 Moj email: lazoviccorp@gmail.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants