improvement hints

java.nio.charset.StandardCharsets hint, java.security.SecureRandom hint, Math.floor not required