This commit updates the visibility of various header files and cleans up some unnecessary inclusions. Also, this commit removes certain header include paths which were maintained for backward compatibility.
Convenience function to fill a buffer with random bytes. Add some unit tests (only sanity checks, really.)