servo/components/servo
bors-servo c022262826 Auto merge of #6505 - ttaubert:issue/4666-crypto-getRandomValues, r=Ms2ger
Implement crypto.getRandomValues()

Didn't touch mozjs or rust-mozjs because implementing that in the code generator didn't seem too easy. I'm using the same workaround that the TextDecoder does.

Using the OsRng should be the right choice here? As the OS keeps state for us we wouldn't need to have a global rng instance to keep around.

Fixes #4666.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6505)
<!-- Reviewable:end -->
2015-07-05 22:16:19 -06:00
..
.cargo Fix ARM linker 2015-06-18 18:39:52 +02:00
Cargo.lock Auto merge of #6505 - ttaubert:issue/4666-crypto-getRandomValues, r=Ms2ger 2015-07-05 22:16:19 -06:00
Cargo.toml Use the correct log crate and setup env_logger in main. 2015-06-06 23:20:40 +03:00
lib.rs Remove some unnecessary clones. 2015-06-22 11:38:07 +02:00
main.rs Stop using env::set_exit_code. 2015-06-26 19:46:16 +02:00