I would like to make a word generation function based on the letters of the alphabet, but I don't know how to proceed. I would like to generate 12 words
string letters public = "abcdefghijklmnopqrstuvwxyz"
But I don't understand how I could proceed in solidity to generate
For numbers, I do this
pragma solidity ^0.8.0;
contract RandomNumbers{
function random(uint number) public view returns(uint){
return uint(keccak256(abi.encodePacked(block.timestamp,block.difficulty,
msg.sender))) % number;
}
}
But for words, I don't know how I could proceed
