[security] move Random class to Security namespace.