Attempt for a cross platform AES-GCM encryption