Crypto API and ES6

I have a task that I need to solve, but I have been watching tutorial after tutorial for days without getting any wiser.
I want to create an application that extracts data from the crypto API, using ES6 features like Object Literals and Arrow functions. It is needed for a student project.

When I look up crypto API I get a lot of tutorials of people using React, Angular etc. I am not too happy about jumping into those, because it is not something I have had lessons in, so I am going to be screwed if my teacher asks me questions about these.
I have only learned about ES6 and Babel, and after I have made my crypto application, I will need to Bundle the code with WebPack and convert it into ES5 with Babel.

I have this old code, where I just removed var with let and const, but other than that I can’t really see what more I can do with it.

	const array = new Uint32Array(10);
	window.crypto.getRandomValues(array);

	console.log("Here are some numbers:");
	for (let i = 0; i < array.length; i++) {
	  console.log(array[i]);
	}