Copies data to the new Secret
data
Returns a readonly Secret
Copies data to the new Secret and erases data
Returns a readonly random Secret