# std/crypto: faster \(mod 2^255-19\) square root computation · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/fb63a2cfaecb981010e0b9d656fd372dbb331888)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: fb63a2cfaecb981010e0b9d656fd372dbb331888

Requested commit: fb63a2cfaecb981010e0b9d656fd372dbb331888

Commit: fb63a2cfaecb981010e0b9d656fd372dbb331888

Tree: b2485d4d7c47286785db204dfbfc396065ec150a

Author: Frank Denis

Committer: Andrew Kelley

## Message

```
std/crypto: faster (mod 2^255-19) square root computation

251 squarings, 250 multiplications -> 251 squarings, 11 multiplications

```

## Parents

- [dd4771a5d2815004a75a90895fe45addb3a015d1](https://git.cafe/gitcafe/zig/commit/dd4771a5d2815004a75a90895fe45addb3a015d1?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/fb63a2cfaecb981010e0b9d656fd372dbb331888?format=markdown)
