South Africa: Decrypting The Legality Of Encryption In South Africa

Last Updated: 13 October 2016
Article by Amrisha Raniga

Most Read Contributor in South Africa, September 2019

Despite being in existence for years, many have only recently become familiar with encryption. This follows heightened publicity around its use on popular social media platforms purportedly offering end-to-end encryption.

Encryption (or cryptography) has been described as a mathematical formula or algorithm that encodes and decodes information, with only authorised persons having access to such information through a key. Encoding the information converts the information into text, making it illegible.

International context

The recent introduction of end-to-end encryption by Facebook Inc. and its subsidiary WhatsApp Inc. on their social media platforms means, in theory, that all electronic communication that takes place on these platforms remains strictly between the parties to the communication. It has widely been suggested (with or without merit) that not even Facebook Inc. and WhatsApp Inc. have the ability to access such communication.

In the wake of suspected exploitation of encrypted platforms to plot (effectively undetected) recent terror attacks in Europe and the United States ("US"), this technology sits at the heart of a tug-of-war between technology giants and law enforcement authorities. Technology giants have argued that they are proponents of citizens' interests and their right to privacy, while law enforcement authorities have advocated their mandate to ensure the safety and security of citizens.

Recently, there has been heightened activity in the global legal fraternity on the subject, such as the litigation between law enforcement authorities in Brazil and WhatsApp Inc., which saw a court ordering a nationwide shut down of WhatsApp. This was the result of the company's failure to comply with an order to give law enforcement authorities access to data. WhatsApp Inc. had argued that it was not possible for it to do so as, with the introduction of end-to-end encryption, it did not have access to the requested data. In this regard, WhatsApp Inc. argued that it did not have access to WhatsApp conversations exchanged between its users as such messages were not stored on its server as a result of end-to-end encryption. WhatsApp Inc. has repeatedly made public statements that it cannot share information that it does not have access to.

Is encryption permissible in South Africa?

There is nothing in South African law that prohibits the use of encryption, but cryptography is strictly regulated by the Electronic Communications and Transactions Act, 2002 ("ECTA") read with the Regulation of Interception of Communications and Provision of Communication-related Information Act, 2002 ("RICA"), and the use of cryptography over telecommunication networks is regulated by the Minister of Communications.

Chapter V of ECTA deals with cryptography providers, products and services. "Cryptography service" has been defined as any service provided to a sender or a recipient of a data message or to anyone storing a data message that is designed to facilitate the use of cryptographic techniques for the purpose of ensuring:

  • that such data or data message can be accessed or put into an intelligible form only by certain persons
  • that the authenticity or integrity of such data or data message is capable of being ascertained
  • the integrity of the data or data message
  • that the source of the data or data message can be correctly ascertained

A "cryptography provider" is defined as a person who provides or proposes to provide cryptography services or products in South Africa. Given the wide definition of cryptographic service, notwithstanding that WhatsApp is strictly speaking an over-the-top messaging platform, because it has an encryption functionality, WhatsApp Inc. is regarded as a cryptography provider while its instant messaging platform WhatsApp includes a cryptography service.

In terms of ECTA, cryptography providers must register with the Minister of Communications before providing cryptography services in South Africa, and the communications director general is required to maintain a register of cryptography providers. Cryptography services are deemed to be provided in South Africa if, among other things, the cryptography service is provided to a person who is present in South Africa when that person makes use of the service.

Details of cryptography providers, as set out in the register, would be made available to law enforcement officials in the following circumstances:

  • in the investigation of a criminal offence or for purposes of any criminal proceedings
  • pursuant to an official request from government agencies responsible for safety and security in South Africa
  • to a cyber inspector (appointed in accordance with section 80 of ECTA)
  • pursuant to section 11 or 30 of the Promotion of Access to Information Act, 2000
  • for the purpose of any civil proceedings that relate to the provision of cryptography services or products and to which a cryptography provider is a party

Anyone who contravenes the provisions of ECTA is guilty of an offence and liable for a fine or up to two years' imprisonment.

In addition, the cryptography regulations set out further requirements that need to be met when applying for registration as a cryptography provider.

Access to encrypted data by enforcement authorities

As mentioned above, the Minister of Communications is required to maintain a register of cryptography providers to enable law enforcement officials to request a decryption key from such providers. The empowering law to obtain the decryption key is RICA. Thus, as stated earlier, ECTA and RICA must be read together.

RICA provides for application for various types of directions to be issued, such as real-time communication directions, archived-communication directions, interception directions and decryption directions.

Decryption directions are applied for either at the same time as an interception direction or subsequently, provided the application is submitted during the validity period of the interception direction already issued.

Section 21 of RICA requires an application for a decryption direction to contain the following:

  • the identity of the applicant
  • the identity of the customer in respect of whom the decryption of encrypted information is required
  • the identity of the decryption key holder to whom the decryption direction must be addressed
  • the decryption key must be specified and, if known, must be disclosed
  • the decryption assistance that must be provided

A "decryption key" has been defined in RICA as any key, mathematical formula, code, password, algorithm or any other data that is used to allow access to encrypted information or to facilitate the transformation of encrypted information into an intelligible form. A "decryption key holder" is defined as anyone who is in possession of a decryption key for purposes of subsequent decryption of encrypted information relating to indirect communications.

In light of its introduction of end-to-end encryption, would WhatsApp Inc. fall within the definition of a decryption key holder, as the level of encryption is such that it is not in possession or control of any keys issued?

Application to WhatsApp

One of the first high-profile South African cases in which access to WhatsApp messages by authorities could be traced is the murder trial of Paralympian, Oscar Pistorius. The prosecuting authority issued a subpoena to WhatsApp Inc. in the US for the retrieval of data contained in messages exchanged with the murder victim, Reeva Steenkamp.

This subpoena came before the introduction of end-to-end encryption security functionality by WhatsApp in April 2016. As such, WhatsApp had no legally defensible reason for failing to comply with the subpoena as it was in control/possession of the decryption key. If the request had been made after the introduction of end-to-end encryption, WhatsApp would likely have refused on the basis that it could not comply as it cannot give information that is not in its possession.

The right to privacy has been entrenched in the Constitution. This includes the right to be free from intrusions and interference by the State and others in one's personal life, as well as unauthorised disclosure of information about one's private life. But the right to privacy is not absolute and can be limited when reasonable and justifiable in accordance with the Constitution's limitations provisions. Could it be argued that WhatsApp Inc. and other cryptography providers who provide end-to-end encryption and claiming not to have access to a decryption key are creating a dangerous platform for criminals to engage in illegal activities without government surveillance? Could WhatsApp have implemented other security functionalities to further strengthen privacy without completely bringing law enforcement authorities to their knees through their introduction of end-to-end encryption, thus placing an ideal communication tool in the hands of criminals to go undetected?

A test case before the courts on the constitutionality or otherwise of end-to-end encryption, and access to encrypted communication in general, would be a welcome development. For now, it remains to be seen whether the courts will ultimately align their approach with the recent resolution by the United Nations Human Rights Council (A/HRC/32/L.20), which seeks to strengthen anonymity and encryption.

The content of this article is intended to provide a general guide to the subject matter. Specialist advice should be sought about your specific circumstances.

To print this article, all you need is to be registered on

Click to Login as an existing user or Register so you can print this article.

Some comments from our readers…
“The articles are extremely timely and highly applicable”
“I often find critical information not available elsewhere”
“As in-house counsel, Mondaq’s service is of great value”

Related Topics
Related Articles
Up-coming Events Search
Font Size:
Mondaq on Twitter
Mondaq Free Registration
Gain access to Mondaq global archive of over 375,000 articles covering 200 countries with a personalised News Alert and automatic login on this device.
Mondaq News Alert (some suggested topics and region)
Select Topics
Registration (please scroll down to set your data preferences)

Mondaq Ltd requires you to register and provide information that personally identifies you, including your content preferences, for three primary purposes (full details of Mondaq’s use of your personal data can be found in our Privacy and Cookies Notice):

  • To allow you to personalize the Mondaq websites you are visiting to show content ("Content") relevant to your interests.
  • To enable features such as password reminder, news alerts, email a colleague, and linking from Mondaq (and its affiliate sites) to your website.
  • To produce demographic feedback for our content providers ("Contributors") who contribute Content for free for your use.

Mondaq hopes that our registered users will support us in maintaining our free to view business model by consenting to our use of your personal data as described below.

Mondaq has a "free to view" business model. Our services are paid for by Contributors in exchange for Mondaq providing them with access to information about who accesses their content. Once personal data is transferred to our Contributors they become a data controller of this personal data. They use it to measure the response that their articles are receiving, as a form of market research. They may also use it to provide Mondaq users with information about their products and services.

Details of each Contributor to which your personal data will be transferred is clearly stated within the Content that you access. For full details of how this Contributor will use your personal data, you should review the Contributor’s own Privacy Notice.

Please indicate your preference below:

Yes, I am happy to support Mondaq in maintaining its free to view business model by agreeing to allow Mondaq to share my personal data with Contributors whose Content I access
No, I do not want Mondaq to share my personal data with Contributors

Also please let us know whether you are happy to receive communications promoting products and services offered by Mondaq:

Yes, I am happy to received promotional communications from Mondaq
No, please do not send me promotional communications from Mondaq
Terms & Conditions (the Website) is owned and managed by Mondaq Ltd (Mondaq). Mondaq grants you a non-exclusive, revocable licence to access the Website and associated services, such as the Mondaq News Alerts (Services), subject to and in consideration of your compliance with the following terms and conditions of use (Terms). Your use of the Website and/or Services constitutes your agreement to the Terms. Mondaq may terminate your use of the Website and Services if you are in breach of these Terms or if Mondaq decides to terminate the licence granted hereunder for any reason whatsoever.

Use of

To Use you must be: eighteen (18) years old or over; legally capable of entering into binding contracts; and not in any way prohibited by the applicable law to enter into these Terms in the jurisdiction which you are currently located.

You may use the Website as an unregistered user, however, you are required to register as a user if you wish to read the full text of the Content or to receive the Services.

You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, link, display, or in any way exploit any of the Content, in whole or in part, except as expressly permitted in these Terms or with the prior written consent of Mondaq. You may not use electronic or other means to extract details or information from the Content. Nor shall you extract information about users or Contributors in order to offer them any services or products.

In your use of the Website and/or Services you shall: comply with all applicable laws, regulations, directives and legislations which apply to your Use of the Website and/or Services in whatever country you are physically located including without limitation any and all consumer law, export control laws and regulations; provide to us true, correct and accurate information and promptly inform us in the event that any information that you have provided to us changes or becomes inaccurate; notify Mondaq immediately of any circumstances where you have reason to believe that any Intellectual Property Rights or any other rights of any third party may have been infringed; co-operate with reasonable security or other checks or requests for information made by Mondaq from time to time; and at all times be fully liable for the breach of any of these Terms by a third party using your login details to access the Website and/or Services

however, you shall not: do anything likely to impair, interfere with or damage or cause harm or distress to any persons, or the network; do anything that will infringe any Intellectual Property Rights or other rights of Mondaq or any third party; or use the Website, Services and/or Content otherwise than in accordance with these Terms; use any trade marks or service marks of Mondaq or the Contributors, or do anything which may be seen to take unfair advantage of the reputation and goodwill of Mondaq or the Contributors, or the Website, Services and/or Content.

Mondaq reserves the right, in its sole discretion, to take any action that it deems necessary and appropriate in the event it considers that there is a breach or threatened breach of the Terms.

Mondaq’s Rights and Obligations

Unless otherwise expressly set out to the contrary, nothing in these Terms shall serve to transfer from Mondaq to you, any Intellectual Property Rights owned by and/or licensed to Mondaq and all rights, title and interest in and to such Intellectual Property Rights will remain exclusively with Mondaq and/or its licensors.

Mondaq shall use its reasonable endeavours to make the Website and Services available to you at all times, but we cannot guarantee an uninterrupted and fault free service.

Mondaq reserves the right to make changes to the services and/or the Website or part thereof, from time to time, and we may add, remove, modify and/or vary any elements of features and functionalities of the Website or the services.

Mondaq also reserves the right from time to time to monitor your Use of the Website and/or services.


The Content is general information only. It is not intended to constitute legal advice or seek to be the complete and comprehensive statement of the law, nor is it intended to address your specific requirements or provide advice on which reliance should be placed. Mondaq and/or its Contributors and other suppliers make no representations about the suitability of the information contained in the Content for any purpose. All Content provided "as is" without warranty of any kind. Mondaq and/or its Contributors and other suppliers hereby exclude and disclaim all representations, warranties or guarantees with regard to the Content, including all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement. To the maximum extent permitted by law, Mondaq expressly excludes all representations, warranties, obligations, and liabilities arising out of or in connection with all Content. In no event shall Mondaq and/or its respective suppliers be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use of the Content or performance of Mondaq’s Services.


Mondaq may alter or amend these Terms by amending them on the Website. By continuing to Use the Services and/or the Website after such amendment, you will be deemed to have accepted any amendment to these Terms.

These Terms shall be governed by and construed in accordance with the laws of England and Wales and you irrevocably submit to the exclusive jurisdiction of the courts of England and Wales to settle any dispute which may arise out of or in connection with these Terms. If you live outside the United Kingdom, English law shall apply only to the extent that English law shall not deprive you of any legal protection accorded in accordance with the law of the place where you are habitually resident ("Local Law"). In the event English law deprives you of any legal protection which is accorded to you under Local Law, then these terms shall be governed by Local Law and any dispute or claim arising out of or in connection with these Terms shall be subject to the non-exclusive jurisdiction of the courts where you are habitually resident.

You may print and keep a copy of these Terms, which form the entire agreement between you and Mondaq and supersede any other communications or advertising in respect of the Service and/or the Website.

No delay in exercising or non-exercise by you and/or Mondaq of any of its rights under or in connection with these Terms shall operate as a waiver or release of each of your or Mondaq’s right. Rather, any such waiver or release must be specifically granted in writing signed by the party granting it.

If any part of these Terms is held unenforceable, that part shall be enforced to the maximum extent permissible so as to give effect to the intent of the parties, and the Terms shall continue in full force and effect.

Mondaq shall not incur any liability to you on account of any loss or damage resulting from any delay or failure to perform all or any part of these Terms if such delay or failure is caused, in whole or in part, by events, occurrences, or causes beyond the control of Mondaq. Such events, occurrences or causes will include, without limitation, acts of God, strikes, lockouts, server and network failure, riots, acts of war, earthquakes, fire and explosions.

By clicking Register you state you have read and agree to our Terms and Conditions