Hi,
We have information about the key generation mechanisms used by BoxCryptor in our Knowledge Base:
https://boxcryptor.desk.com/customer/portal/articles/624000
Basically, as BoxCryptor is native software, we can use secure random number generators provided by the operating systems which create cryptographically strong pseudo-random bytes (in contrast to JavaScript's Math.random which is used by Mega).
Best,
Robert