The new law spells out harsh punishment to cybercriminals and the process of seeking reparation by victims of cybercrime.
The country has been grappling over fake news control due to an existing lacuna in the law which has since been sealed.
"This includes search and seizure of stored computer data, record of and access to seized data, production order for data, expedited preservation, partial disclosure, real-time collection and interception of data", said Kenyatta in a statement issued in Nairobi.
Sharing fake news and initiating hate speech will now attract a fine of 5 million shillings or a 2 year imprisonment, while sharing pornographic material will attract a fine of 300,000 shillings or a 30 year imprisonment.
It deals with offences relating to computer systems including but not limited to unauthorised access, unauthorised interference, unauthorised interception, unauthorised disclosure of passwords, cyber espionage, false publications, child pornography, cyber terrorism and wrongful distribution of obscene or intimate images.
Carrick sets up Man United victor ahead of coaching switch
The Red Devils have had to endure a hard season. "Playing with Michael is a blessing because you know he's going to find you. Between heart problems and declining mobility, he was a bit-part player for the last couple of years at United.
Mehbooba welcomes Ramzan ceasefire order
The decision has been taken to help local Muslims observe Ramzan fast in a peaceful environment, a home ministry spokesperson said.
Formula 1's aero flip-flopping is comical says Sebastian Vettel
Verstappen's eventual pit stop gave Hamilton back the lead of the race with Vettel roughly 10 seconds adrift. Secondly, we struggled with the tyres. "The best ones are very sensitive and fragile", Wolff said.
The assent comes amid calls for the President to revert the law back to Parliament to ensure its provisions are constitutional and do not violate the right to media freedom and expression.
Through the Cybercrimes Act, the government is going to establish a National Computer and Cybercrimes Coordination Committee.
Most offences related to online harassment have previously been charged through the ancient Penal Code and the NCIC Act.
The National Security Council chaired by President Uhuru Kenyatta was instrumental in crafting the Bill to provide a legal framework for dealing with crimes online crimes.
President Uhuru Kenyatta, DP William Ruto, Aden Duale and others at State House on May, 16, 2018.