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, November 2017

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”

Up-coming Events Search
Font Size:
Mondaq on Twitter
Register for Access and our Free Biweekly Alert for
This service is completely free. Access 250,000 archived articles from 100+ countries and get a personalised email twice a week covering developments (and yes, our lawyers like to think you’ve read our Disclaimer).
Email Address
Company Name
Confirm Password
Mondaq Topics -- Select your Interests
 Law Performance
 Law Practice
 Media & IT
 Real Estate
 Wealth Mgt
Asia Pacific
European Union
Latin America
Middle East
United States
Worldwide Updates
Mondaq Ltd requires you to register and provide information that personally identifies you, including what sort of information you are interested in, for three primary purposes:
  • To allow you to personalize the Mondaq websites you are visiting.
  • To enable features such as password reminder, newsletter alerts, email a colleague, and linking from Mondaq (and its affiliate sites) to your website.
  • To produce demographic feedback for our information providers who provide information free for your use.
  • Mondaq (and its affiliate sites) do not sell or provide your details to third parties other than information providers. The reason we provide our information providers with this information is so that they can measure the response their articles are receiving and provide you with information about their products and services.
    If you do not want us to provide your name and email address you may opt out by clicking here
    If you do not wish to receive any future announcements of products and services offered by Mondaq you may opt out by clicking here

    Terms & Conditions and Privacy Statement (the Website) is owned and managed by Mondaq Ltd and as a user you are granted a non-exclusive, revocable license to access the Website under its terms and conditions of use. Your use of the Website constitutes your agreement to the following terms and conditions of use. Mondaq Ltd may terminate your use of the Website if you are in breach of these terms and conditions or if Mondaq Ltd decides to terminate your license of use for whatever reason.

    Use of

    You may use the Website but are required to register as a user if you wish to read the full text of the content and articles available (the Content). 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 & conditions or with the prior written consent of Mondaq Ltd. You may not use electronic or other means to extract details or information about’s content, users or contributors in order to offer them any services or products which compete directly or indirectly with Mondaq Ltd’s services and products.


    Mondaq Ltd and/or its respective suppliers make no representations about the suitability of the information contained in the documents and related graphics published on this server for any purpose. All such documents and related graphics are provided "as is" without warranty of any kind. Mondaq Ltd and/or its respective suppliers hereby disclaim all warranties and conditions with regard to this information, including all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement. In no event shall Mondaq Ltd 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 or performance of information available from this server.

    The documents and related graphics published on this server could include technical inaccuracies or typographical errors. Changes are periodically added to the information herein. Mondaq Ltd and/or its respective suppliers may make improvements and/or changes in the product(s) and/or the program(s) described herein at any time.


    Mondaq Ltd requires you to register and provide information that personally identifies you, including what sort of information you are interested in, for three primary purposes:

    • To allow you to personalize the Mondaq websites you are visiting.
    • To enable features such as password reminder, newsletter alerts, email a colleague, and linking from Mondaq (and its affiliate sites) to your website.
    • To produce demographic feedback for our information providers who provide information free for your use.

    Mondaq (and its affiliate sites) do not sell or provide your details to third parties other than information providers. The reason we provide our information providers with this information is so that they can measure the response their articles are receiving and provide you with information about their products and services.

    Information Collection and Use

    We require site users to register with Mondaq (and its affiliate sites) to view the free information on the site. We also collect information from our users at several different points on the websites: this is so that we can customise the sites according to individual usage, provide 'session-aware' functionality, and ensure that content is acquired and developed appropriately. This gives us an overall picture of our user profiles, which in turn shows to our Editorial Contributors the type of person they are reaching by posting articles on Mondaq (and its affiliate sites) – meaning more free content for registered users.

    We are only able to provide the material on the Mondaq (and its affiliate sites) site free to site visitors because we can pass on information about the pages that users are viewing and the personal information users provide to us (e.g. email addresses) to reputable contributing firms such as law firms who author those pages. We do not sell or rent information to anyone else other than the authors of those pages, who may change from time to time. Should you wish us not to disclose your details to any of these parties, please tick the box above or tick the box marked "Opt out of Registration Information Disclosure" on the Your Profile page. We and our author organisations may only contact you via email or other means if you allow us to do so. Users can opt out of contact when they register on the site, or send an email to with “no disclosure” in the subject heading

    Mondaq News Alerts

    In order to receive Mondaq News Alerts, users have to complete a separate registration form. This is a personalised service where users choose regions and topics of interest and we send it only to those users who have requested it. Users can stop receiving these Alerts by going to the Mondaq News Alerts page and deselecting all interest areas. In the same way users can amend their personal preferences to add or remove subject areas.


    A cookie is a small text file written to a user’s hard drive that contains an identifying user number. The cookies do not contain any personal information about users. We use the cookie so users do not have to log in every time they use the service and the cookie will automatically expire if you do not visit the Mondaq website (or its affiliate sites) for 12 months. We also use the cookie to personalise a user's experience of the site (for example to show information specific to a user's region). As the Mondaq sites are fully personalised and cookies are essential to its core technology the site will function unpredictably with browsers that do not support cookies - or where cookies are disabled (in these circumstances we advise you to attempt to locate the information you require elsewhere on the web). However if you are concerned about the presence of a Mondaq cookie on your machine you can also choose to expire the cookie immediately (remove it) by selecting the 'Log Off' menu option as the last thing you do when you use the site.

    Some of our business partners may use cookies on our site (for example, advertisers). However, we have no access to or control over these cookies and we are not aware of any at present that do so.

    Log Files

    We use IP addresses to analyse trends, administer the site, track movement, and gather broad demographic information for aggregate use. IP addresses are not linked to personally identifiable information.


    This web site contains links to other sites. Please be aware that Mondaq (or its affiliate sites) are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of these third party sites. This privacy statement applies solely to information collected by this Web site.

    Surveys & Contests

    From time-to-time our site requests information from users via surveys or contests. Participation in these surveys or contests is completely voluntary and the user therefore has a choice whether or not to disclose any information requested. Information requested may include contact information (such as name and delivery address), and demographic information (such as postcode, age level). Contact information will be used to notify the winners and award prizes. Survey information will be used for purposes of monitoring or improving the functionality of the site.


    If a user elects to use our referral service for informing a friend about our site, we ask them for the friend’s name and email address. Mondaq stores this information and may contact the friend to invite them to register with Mondaq, but they will not be contacted more than once. The friend may contact Mondaq to request the removal of this information from our database.


    From time to time Mondaq may send you emails promoting Mondaq services including new services. You may opt out of receiving such emails by clicking below.

    *** If you do not wish to receive any future announcements of services offered by Mondaq you may opt out by clicking here .


    This website takes every reasonable precaution to protect our users’ information. When users submit sensitive information via the website, your information is protected using firewalls and other security technology. If you have any questions about the security at our website, you can send an email to

    Correcting/Updating Personal Information

    If a user’s personally identifiable information changes (such as postcode), or if a user no longer desires our service, we will endeavour to provide a way to correct, update or remove that user’s personal data provided to us. This can usually be done at the “Your Profile” page or by sending an email to

    Notification of Changes

    If we decide to change our Terms & Conditions or Privacy Policy, we will post those changes on our site so our users are always aware of what information we collect, how we use it, and under what circumstances, if any, we disclose it. If at any point we decide to use personally identifiable information in a manner different from that stated at the time it was collected, we will notify users by way of an email. Users will have a choice as to whether or not we use their information in this different manner. We will use information in accordance with the privacy policy under which the information was collected.

    How to contact Mondaq

    You can contact us with comments or queries at

    If for some reason you believe Mondaq Ltd. has not adhered to these principles, please notify us by e-mail at and we will use commercially reasonable efforts to determine and correct the problem promptly.

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