0.0
No commit activity in last 3 years
No release in over 3 years
ruby already has explicit_bzero, why not use it.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
>= 0
 Project Readme

Ruby hidden explicit_bzero() function exported.

Ruby's C implementation has its explicit_bzero() function but it never make the function available from the ruby land. I'll do that for you.

Provided functionality

This library provides one method named String#explicit_bzero. Which is of course not very ruby-ish, I know, but best describes what is going on.

string.explicit_bzero() # => self

Cleanse the receiver. Raises FrozenError if the receiver is frozen.

Q&As

This library fails to load on my machine. Why?

Your ruby is too old. All Ruby since 2015 has this function.

I want this also possible on JRuby!

I suspect that's possible. Not sure how though. Pull request much appreciated.