Switch to secure random source for SharedSecret